From: Andy Polyakov Date: Wed, 21 Jan 2015 15:51:06 +0000 (+0100) Subject: crypto/ofb128.c: make it indent-friendly. X-Git-Tag: master-post-reformat~13 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=1ab6c607b815fdfc18c3d79fbf4c22cf3e3116d5;hp=a4ad939fb814a934afa7df5825a04145ce123059 crypto/ofb128.c: make it indent-friendly. Reviewed-by: Tim Hudson --- 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