aboutsummaryrefslogtreecommitdiff
path: root/crypto/cryptlib.c
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2017-02-15 00:36:46 +0100
committerKurt Roeckx <kurt@roeckx.be>2017-03-19 14:34:07 +0100
commit43c564170c7300092fa1627b961480c708d6fc01 (patch)
treef3ae2371d6f27de1bda52a4d0a3e20e61e69f5c3 /crypto/cryptlib.c
parent497910833e6992b4b8645900f2086a56f5557424 (diff)
downloadopenssl-43c564170c7300092fa1627b961480c708d6fc01.zip
openssl-43c564170c7300092fa1627b961480c708d6fc01.tar.gz
openssl-43c564170c7300092fa1627b961480c708d6fc01.tar.bz2
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c
index 71a5c35..3151e1a 100644
--- a/crypto/cryptlib.c
+++ b/crypto/cryptlib.c
@@ -321,6 +321,7 @@ void OPENSSL_die(const char *message, const char *file, int line)
*
* There are also assembler versions of this function.
*/
+# undef CRYPTO_memcmp
int CRYPTO_memcmp(const void * in_a, const void * in_b, size_t len)
{
size_t i;