mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-05-12 01:19:41 +00:00
Revert "Use memcmp() instead of CRYPTO_memcmp() when fuzzing"
This reverts commit 3aad8e18707bccaabee5f111de2db0696b45781c. Reviewed-by: Andy Polyakov <appro@openssl.org> GH: #2686
This commit is contained in:
parent
e12e903e9a
commit
d913a0557f
@ -324,7 +324,6 @@ void OPENSSL_die(const char *message, const char *file, int line)
|
|||||||
* pointers to volatile to not be emitted in some rare,
|
* pointers to volatile to not be emitted in some rare,
|
||||||
* never needed in real life, pieces of code.
|
* never needed in real life, pieces of code.
|
||||||
*/
|
*/
|
||||||
# undef CRYPTO_memcmp
|
|
||||||
int CRYPTO_memcmp(const volatile void * volatile in_a,
|
int CRYPTO_memcmp(const volatile void * volatile in_a,
|
||||||
const volatile void * volatile in_b,
|
const volatile void * volatile in_b,
|
||||||
size_t len)
|
size_t len)
|
||||||
|
4
e_os.h
4
e_os.h
@ -513,10 +513,6 @@ struct servent *getservbyname(const char *name, const char *proto);
|
|||||||
|
|
||||||
#define OSSL_NELEM(x) (sizeof(x)/sizeof(x[0]))
|
#define OSSL_NELEM(x) (sizeof(x)/sizeof(x[0]))
|
||||||
|
|
||||||
#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
|
|
||||||
# define CRYPTO_memcmp memcmp
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user