From e8aa8b6c8f6d4e2b2bbd5e5721d977b0a6aa3cee Mon Sep 17 00:00:00 2001 From: FdaSilvaYY Date: Wed, 29 Jun 2016 00:18:50 +0200 Subject: Fix a few if(, for(, while( inside code. Fix some indentation at the same time Reviewed-by: Matt Caswell Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/1292) --- crypto/aes/aes_core.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crypto/aes') diff --git a/crypto/aes/aes_core.c b/crypto/aes/aes_core.c index 69be3d85c7..bd5c7793be 100644 --- a/crypto/aes/aes_core.c +++ b/crypto/aes/aes_core.c @@ -644,9 +644,9 @@ int AES_set_encrypt_key(const unsigned char *userKey, const int bits, rk = key->rd_key; - if (bits==128) + if (bits == 128) key->rounds = 10; - else if (bits==192) + else if (bits == 192) key->rounds = 12; else key->rounds = 14; @@ -1222,9 +1222,9 @@ int AES_set_encrypt_key(const unsigned char *userKey, const int bits, rk = key->rd_key; - if (bits==128) + if (bits == 128) key->rounds = 10; - else if (bits==192) + else if (bits == 192) key->rounds = 12; else key->rounds = 14; -- cgit v1.2.3