From 1f61d8b5b1bda282015236fe9860d2f6de127356 Mon Sep 17 00:00:00 2001 From: Felix Laurie von Massenbach Date: Sun, 15 Jun 2014 11:52:06 +0100 Subject: Fix shadow declaration. --- crypto/evp/e_aes_cbc_hmac_sha1.c | 5 +++-- crypto/evp/e_aes_cbc_hmac_sha256.c | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'crypto/evp') diff --git a/crypto/evp/e_aes_cbc_hmac_sha1.c b/crypto/evp/e_aes_cbc_hmac_sha1.c index b2d797dba2..717e388fc3 100644 --- a/crypto/evp/e_aes_cbc_hmac_sha1.c +++ b/crypto/evp/e_aes_cbc_hmac_sha1.c @@ -210,8 +210,6 @@ static size_t tls1_1_multi_block_encrypt(EVP_AES_HMAC_SHA1 *key, u8 *IVs; #if defined(BSWAP8) u64 seqnum; -#else - unsigned int carry,j; #endif if (RAND_bytes((IVs=blocks[0].c),16*x4)<=0) /* ask for IVs in bulk */ @@ -248,6 +246,9 @@ static size_t tls1_1_multi_block_encrypt(EVP_AES_HMAC_SHA1 *key, #endif for (i=0;iA[i] = key->md.h0; ctx->B[i] = key->md.h1; diff --git a/crypto/evp/e_aes_cbc_hmac_sha256.c b/crypto/evp/e_aes_cbc_hmac_sha256.c index 63c6acda97..c6c05d936b 100644 --- a/crypto/evp/e_aes_cbc_hmac_sha256.c +++ b/crypto/evp/e_aes_cbc_hmac_sha256.c @@ -206,8 +206,6 @@ static size_t tls1_1_multi_block_encrypt(EVP_AES_HMAC_SHA256 *key, u8 *IVs; #if defined(BSWAP8) u64 seqnum; -#else - unsigned int carry,j; #endif if (RAND_bytes((IVs=blocks[0].c),16*x4)<=0) /* ask for IVs in bulk */ @@ -244,6 +242,9 @@ static size_t tls1_1_multi_block_encrypt(EVP_AES_HMAC_SHA256 *key, #endif for (i=0;iA[i] = key->md.h[0]; ctx->B[i] = key->md.h[1]; -- cgit v1.2.3