summaryrefslogtreecommitdiff
path: root/cipher/rijndael.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/rijndael.c')
-rw-r--r--cipher/rijndael.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/cipher/rijndael.c b/cipher/rijndael.c
index 257a1627..8019f0aa 100644
--- a/cipher/rijndael.c
+++ b/cipher/rijndael.c
@@ -504,7 +504,9 @@ do_setkey (RIJNDAEL_context *ctx, const byte *key, const unsigned keylen)
KC = 4;
if (0)
- ;
+ {
+ ;
+ }
#ifdef USE_PADLOCK
else if (hwfeatures & HWF_PADLOCK_AES)
{
@@ -559,7 +561,9 @@ do_setkey (RIJNDAEL_context *ctx, const byte *key, const unsigned keylen)
/* NB: We don't yet support Padlock hardware key generation. */
if (0)
- ;
+ {
+ ;
+ }
#ifdef USE_AESNI
else if (ctx->use_aesni)
aesni_do_setkey(ctx, key);