projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf426ee
)
BUILD: ssl: add 'secure_memcmp' converter for WolfSSL and awslc
author
William Lallemand
<wlallemand@haproxy.com>
Mon, 9 Oct 2023 13:44:50 +0000
(15:44 +0200)
committer
William Lallemand
<wlallemand@haproxy.com>
Mon, 9 Oct 2023 13:44:50 +0000
(15:44 +0200)
CRYPTO_memcmp is supported by both awslc and wolfssl, lets add the
suport for the 'secure_memcmp' converter into the build.
include/haproxy/openssl-compat.h
patch
|
blob
|
history
diff --git
a/include/haproxy/openssl-compat.h
b/include/haproxy/openssl-compat.h
index
50344e6
..
c87b65f
100644
(file)
--- a/
include/haproxy/openssl-compat.h
+++ b/
include/haproxy/openssl-compat.h
@@
-90,7
+90,7
@@
#define HAVE_SSL_CTX_get0_privatekey
#endif
-#if HA_OPENSSL_VERSION_NUMBER >= 0x1000104fL
+#if HA_OPENSSL_VERSION_NUMBER >= 0x1000104fL || defined(USE_OPENSSL_WOLFSSL) || defined(USE_OPENSSL_AWSLC)
/* CRYPTO_memcmp() is present since openssl 1.0.1d */
#define HAVE_CRYPTO_memcmp
#endif