diff options
author | Rich Salz <rsalz@akamai.com> | 2016-01-30 19:48:09 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-01-30 20:19:19 -0500 |
commit | 769adcfe8b27d696d3e221427d82f365919917a8 (patch) | |
tree | 1a1aee556859d70845c2e5a1b09deacb3684357e /crypto/cryptlib.c | |
parent | 9716b0b9deb68ffe268235841eba80ea4e31a9d0 (diff) | |
download | openssl-769adcfe8b27d696d3e221427d82f365919917a8.tar.gz |
GH102: Extra volatile avoids GCC bug
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Diffstat (limited to 'crypto/cryptlib.c')
-rw-r--r-- | crypto/cryptlib.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c index 9473799a48..d31734068b 100644 --- a/crypto/cryptlib.c +++ b/crypto/cryptlib.c @@ -465,7 +465,9 @@ void OpenSSLDie(const char *file, int line, const char *assertion) #endif } -int CRYPTO_memcmp(const volatile void *in_a, const volatile void *in_b, size_t len) +int CRYPTO_memcmp(const volatile void * volatile in_a, + const volatile void * volatile in_b, + size_t len) { size_t i; const volatile unsigned char *a = in_a; |