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 /e_os.h | |
parent | Internal siphash tests are not run. (diff) | |
download | openssl-3aad8e18707bccaabee5f111de2db0696b45781c.tar.xz openssl-3aad8e18707bccaabee5f111de2db0696b45781c.zip |
Use memcmp() instead of CRYPTO_memcmp() when fuzzing
Reviewed-by: Andy Polyakov <appro@openssl.org>
GH: #2633
Diffstat (limited to 'e_os.h')
-rw-r--r-- | e_os.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -513,6 +513,10 @@ struct servent *getservbyname(const char *name, const char *proto); #define OSSL_NELEM(x) (sizeof(x)/sizeof(x[0])) +#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION +# define CRYPTO_memcmp memcmp +#endif + #ifdef __cplusplus } #endif |