mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-27 08:01:15 +00:00
MINOR: ssl: generate-certificates for BoringSSL
This commit is contained in:
parent
a9b84028e6
commit
747ca61693
@ -153,7 +153,6 @@ static inline const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *x)
|
||||
#endif
|
||||
|
||||
#ifdef OPENSSL_IS_BORINGSSL
|
||||
#define SSL_NO_GENERATE_CERTIFICATES
|
||||
|
||||
static inline int EVP_PKEY_base_id(EVP_PKEY *pkey)
|
||||
{
|
||||
|
@ -1753,7 +1753,7 @@ ssl_sock_do_create_cert(const char *servername, struct bind_conf *bind_conf, SSL
|
||||
else if (key_type == EVP_PKEY_EC)
|
||||
digest = EVP_sha256();
|
||||
else {
|
||||
#if (OPENSSL_VERSION_NUMBER >= 0x1000000fL)
|
||||
#if (OPENSSL_VERSION_NUMBER >= 0x1000000fL) && !defined(OPENSSL_IS_BORINGSSL)
|
||||
int nid;
|
||||
|
||||
if (EVP_PKEY_get_default_digest_nid(capkey, &nid) <= 0)
|
||||
|
Loading…
Reference in New Issue
Block a user