summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2015-01-21 16:51:06 +0100
committerMatt Caswell <matt@openssl.org>2015-01-22 09:45:15 +0000
commit679fee0e183090ef6b7f1f9dbf0e587d30b55b9e (patch)
treece6c1f36ad7709ffb2120cc978d149100709a844
parent74c1dc909ddd872fe9ad5d2baf9aaa81eaadcc3c (diff)
crypto/ofb128.c: make it indent-friendly.
Reviewed-by: Tim Hudson <tjh@openssl.org>
-rw-r--r--crypto/modes/ofb128.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/modes/ofb128.c b/crypto/modes/ofb128.c
index c732e2ec58..bb1d7796b0 100644
--- a/crypto/modes/ofb128.c
+++ b/crypto/modes/ofb128.c
@@ -83,7 +83,8 @@ void CRYPTO_ofb128_encrypt(const unsigned char *in, unsigned char *out,
n = *num;
#if !defined(OPENSSL_SMALL_FOOTPRINT)
- if (16%sizeof(size_t) == 0) do { /* always true actually */
+ if (16%sizeof(size_t) == 0) { /* always true actually */
+ do {
while (n && len) {
*(out++) = *(in++) ^ ivec[n];
--len;
@@ -112,7 +113,8 @@ void CRYPTO_ofb128_encrypt(const unsigned char *in, unsigned char *out,
}
*num = n;
return;
- } while(0);
+ } while(0);
+ }
/* the rest would be commonly eliminated by x86* compiler */
#endif
while (l<len) {