From ebc2a8b05a73bcaa8bc2b78078cefc483e59905b Mon Sep 17 00:00:00 2001
From: Emmanuel Hocdet <manu@gandi.net>
Date: Thu, 1 Aug 2019 10:56:45 +0200
Subject: [PATCH] BUILD: ssl: BoringSSL add EVP_PKEY_base_id

Remove EVP_PKEY_base_id compatibility, it is now included in BoringSSL.
---
 include/common/openssl-compat.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/include/common/openssl-compat.h b/include/common/openssl-compat.h
index 0e0564938..6aa34fa33 100644
--- a/include/common/openssl-compat.h
+++ b/include/common/openssl-compat.h
@@ -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
-- 
2.11.0

