diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2017-02-15 00:36:46 +0100 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2017-02-19 14:00:13 +0100 |
commit | 3aad8e18707bccaabee5f111de2db0696b45781c (patch) | |
tree | e7c24a0762858d31750d1615576dd9120e5e0228 /crypto/cryptlib.c | |
parent | 0837bd869b4f3c95ff78f29a05cb94c10b39d54f (diff) | |
download | openssl-new-3aad8e18707bccaabee5f111de2db0696b45781c.tar.gz |
Use memcmp() instead of CRYPTO_memcmp() when fuzzing
Reviewed-by: Andy Polyakov <appro@openssl.org>
GH: #2633
Diffstat (limited to 'crypto/cryptlib.c')
-rw-r--r-- | crypto/cryptlib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c index 01b8ce5ed1..f916193605 100644 --- a/crypto/cryptlib.c +++ b/crypto/cryptlib.c @@ -324,6 +324,7 @@ void OPENSSL_die(const char *message, const char *file, int line) * pointers to volatile to not be emitted in some rare, * never needed in real life, pieces of code. */ +# undef CRYPTO_memcmp int CRYPTO_memcmp(const volatile void * volatile in_a, const volatile void * volatile in_b, size_t len) |