diff options
author | Andy Polyakov <appro@openssl.org> | 2015-01-21 16:51:06 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-01-22 09:28:08 +0000 |
commit | 23690f94d9a694ddf77b408551f409b1bd2fee9b (patch) | |
tree | 60b93de9df63fa0828a69bbab87a4c877577a753 | |
parent | 9a11440ec0775b26b7f841b5092859b60c7ec931 (diff) |
crypto/ofb128.c: make it indent-friendly.
Reviewed-by: Tim Hudson <tjh@openssl.org>
-rw-r--r-- | crypto/modes/ofb128.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/modes/ofb128.c b/crypto/modes/ofb128.c index 01c01702c4..2b06117649 100644 --- a/crypto/modes/ofb128.c +++ b/crypto/modes/ofb128.c @@ -76,7 +76,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; @@ -105,7 +106,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) { |