diff options
author | Felix Laurie von Massenbach <felix@erbridge.co.uk> | 2014-06-15 11:52:06 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2014-06-17 17:41:46 +0100 |
commit | 1f61d8b5b1bda282015236fe9860d2f6de127356 (patch) | |
tree | f02c452c9a2bf6f05975312bcd329c144af1a223 /crypto/evp/e_aes_cbc_hmac_sha1.c | |
parent | 9024b84b7c9a36f75bffc5c77cc86bbe2911653e (diff) |
Fix shadow declaration.
Diffstat (limited to 'crypto/evp/e_aes_cbc_hmac_sha1.c')
-rw-r--r-- | crypto/evp/e_aes_cbc_hmac_sha1.c | 5 |
1 files changed, 3 insertions, 2 deletions
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;i<x4;i++) { unsigned int len = (i==(x4-1)?last:frag); +#if !defined(BSWAP8) + unsigned int carry, j; +#endif ctx->A[i] = key->md.h0; ctx->B[i] = key->md.h1; |