openssl/crypto/modes
Richard Levitte 700c0eb8d9 Appease clang -Wshadow
The macros BSWAP4 and BSWAP8 have statetemnt expressions
implementations that use local variable names that shadow variables
outside the macro call, generating warnings like this

e_aes_cbc_hmac_sha1.c:263:14: warning: declaration shadows a local variable
      [-Wshadow]
    seqnum = BSWAP8(blocks[0].q[0]);
             ^
../modes/modes_lcl.h:41:29: note: expanded from macro 'BSWAP8'
                            ^
e_aes_cbc_hmac_sha1.c:223:12: note: previous declaration is here
    size_t ret = 0;
           ^

Have clang be quiet by modifying the macro variable names slightly
(suffixing them with an underscore).

Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit 2da2a4349c)
2015-04-08 17:59:41 +02:00
..
asm modes/asm/ghashv8-armx.pl: up to 90% performance improvement. 2015-04-02 10:04:37 +02:00
.cvsignore Ignore more. 2012-12-13 12:43:18 +00:00
cbc128.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ccm128.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
cfb128.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ctr128.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
cts128.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
gcm128.c modes/gcm128.c: fix OPENSSL_SMALL_FOOTPRINT compile failure 2015-01-30 16:38:42 +01:00
Makefile Harmonize Tru64 and Linux make rules. 2014-09-20 10:22:13 +02:00
modes.h Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
modes_lcl.h Appease clang -Wshadow 2015-04-08 17:59:41 +02:00
ofb128.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
wrap128.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
xts128.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00