Use memcmp() instead of CRYPTO_memcmp() when fuzzing

Reviewed-by: Andy Polyakov <appro@openssl.org>
GH: #2633
This commit is contained in:
Kurt Roeckx 2017-02-15 00:36:46 +01:00
parent 0837bd869b
commit 3aad8e1870
2 changed files with 5 additions and 0 deletions

View file

@ -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)