diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2016-06-29 00:18:50 +0200 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-07-20 13:21:53 +0200 |
commit | e8aa8b6c8f6d4e2b2bbd5e5721d977b0a6aa3cee (patch) | |
tree | 9112c06d1c60edbbe94b3407f33538a0f9bf1c97 /crypto/aes | |
parent | Remove reduntant X509_STORE_CTX_set_verify_cb declaration (diff) | |
download | openssl-e8aa8b6c8f6d4e2b2bbd5e5721d977b0a6aa3cee.tar.xz openssl-e8aa8b6c8f6d4e2b2bbd5e5721d977b0a6aa3cee.zip |
Fix a few if(, for(, while( inside code.
Fix some indentation at the same time
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1292)
Diffstat (limited to 'crypto/aes')
-rw-r--r-- | crypto/aes/aes_core.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |