commit | e5ea76a3df25d7de5ead80cf246db8a7e66ee339 | [log] [tgz] |
---|---|---|
author | Ilya Shipitsin <chipitsine@gmail.com> | Mon Jan 31 09:45:00 2022 +0500 |
committer | William Lallemand <wlallemand@haproxy.org> | Wed Feb 02 17:47:57 2022 +0100 |
tree | 91db00a595a2ef4a6db93a7362b1a9d0a0f516c1 | |
parent | fc5912914b320debad432c668b810170f6fd559a [diff] |
BUILD: ssl: adjust guard for X509_get_X509_PUBKEY(x) BoringSSL defines that function since https://boringssl.googlesource.com/boringssl/+/33f8d33af0dcb083610e978baad5a8b6e1cfee82
diff --git a/include/haproxy/openssl-compat.h b/include/haproxy/openssl-compat.h index 123b76e..d34a22e 100644 --- a/include/haproxy/openssl-compat.h +++ b/include/haproxy/openssl-compat.h
@@ -119,7 +119,7 @@ #endif // OpenSSL < 0.9.8 -#if (((HA_OPENSSL_VERSION_NUMBER < 0x1000000fL) || defined(OPENSSL_IS_BORINGSSL)) && !defined(X509_get_X509_PUBKEY)) +#if ((HA_OPENSSL_VERSION_NUMBER < 0x1000000fL) && !defined(X509_get_X509_PUBKEY)) #define X509_get_X509_PUBKEY(x) ((x)->cert_info->key) #endif