]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: ssl: BoringSSL add EVP_PKEY_base_id
authorEmmanuel Hocdet <manu@gandi.net>
Thu, 1 Aug 2019 08:56:45 +0000 (10:56 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 1 Aug 2019 09:21:42 +0000 (11:21 +0200)
Remove EVP_PKEY_base_id compatibility, it is now included in BoringSSL.

include/common/openssl-compat.h

index 0e056493803ab2de1514776c7c6292750d84a4a3..6aa34fa33861b9b6e09126f3485dc5136d52f5f0 100644 (file)
@@ -179,14 +179,6 @@ static inline const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *x)
 #define __OPENSSL_110_CONST__
 #endif
 
-#ifdef OPENSSL_IS_BORINGSSL
-
-static inline int EVP_PKEY_base_id(EVP_PKEY *pkey)
-{
-       return EVP_PKEY_type(pkey->type);
-}
-#endif
-
 /* ERR_remove_state() was deprecated in 1.0.0 in favor of
  * ERR_remove_thread_state(), which was in turn deprecated in
  * 1.1.0 and does nothing anymore. Let's simply silently kill