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 /include | |
parent | 9716b0b9deb68ffe268235841eba80ea4e31a9d0 (diff) |
GH102: Extra volatile avoids GCC bug
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/crypto.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/openssl/crypto.h b/include/openssl/crypto.h index 024f2c9b72..1251aa13d9 100644 --- a/include/openssl/crypto.h +++ b/include/openssl/crypto.h @@ -542,7 +542,9 @@ int OPENSSL_gmtime_diff(int *pday, int *psec, * into a defined order as the return value when a != b is undefined, other * than to be non-zero. */ -int CRYPTO_memcmp(const volatile void *a, const volatile void *b, size_t len); +int CRYPTO_memcmp(const volatile void * volatile in_a, + const volatile void * volatile in_b, + size_t len); /* BEGIN ERROR CODES */ /* |