mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 07:37:02 +02:00
BUILD: ssl: adjust guard for X509_get_X509_PUBKEY(x)
BoringSSL defines that function since https://boringssl.googlesource.com/boringssl/+/33f8d33af0dcb083610e978baad5a8b6e1cfee82
This commit is contained in:
parent
fc5912914b
commit
e5ea76a3df
@ -119,7 +119,7 @@ static inline void X509_ALGOR_get0(ASN1_OBJECT **paobj, int *pptype, const void
|
||||
|
||||
#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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user