summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2015-01-21 16:49:27 +0100
committerMatt Caswell <matt@openssl.org>2015-01-22 09:37:26 +0000
commit3af30a7b8b69adec54a3b899df8b5341afd15a66 (patch)
tree5f67910c71811c55d1aede915092d73d7cc21087
parente060570e62bf6ca6eeace0b586d263181d69e673 (diff)
downloadopenssl-new-3af30a7b8b69adec54a3b899df8b5341afd15a66.tar.gz
modes/ctr128.c: make it indent-friendly.
Reviewed-by: Tim Hudson <tjh@openssl.org>
-rw-r--r--crypto/modes/ctr128.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/modes/ctr128.c b/crypto/modes/ctr128.c
index ee642c5863..f90605785c 100644
--- a/crypto/modes/ctr128.c
+++ b/crypto/modes/ctr128.c
@@ -125,7 +125,8 @@ void CRYPTO_ctr128_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++) ^ ecount_buf[n];
--len;
@@ -157,7 +158,8 @@ void CRYPTO_ctr128_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) {