diff options
author | Ben Laurie <ben@openssl.org> | 2004-01-31 17:18:02 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2004-01-31 17:18:02 +0000 |
commit | 4c6d0b7069ead3020150f5a4df24cb1530abb11f (patch) | |
tree | 998c595d35948b9adebe18b36375728bbd53ac11 | |
parent | 135891a9d51ba58f42eb4fa557ad7c8c5c28d435 (diff) |
Wrong variable!
-rw-r--r-- | fips/aes/fips_aesavs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fips/aes/fips_aesavs.c b/fips/aes/fips_aesavs.c index 38e060a794..29e97b0cf7 100644 --- a/fips/aes/fips_aesavs.c +++ b/fips/aes/fips_aesavs.c @@ -23,7 +23,7 @@ #define AES_BLOCK_SIZE 16 -#define VERBOSE 0 +#define VERBOSE 1 /*-----------------------------------------------*/ @@ -558,7 +558,7 @@ int do_mct(char *amode, memcpy(ctext[0], ptext[j-1], AES_BLOCK_SIZE); break; case CFB8: - for (n1 = 0, n2 = 15; n < 16; ++n1, --n2) + for (n1 = 0, n2 = 15; n1 < 16; ++n1, --n2) iv[i+1][n1] = ptext[j-n2][0]; ctext[0][0] = ptext[j-16][0]; break; |