quic: fix BoringSSL build
Add guard around `SSL_CTX_set_ciphersuites()` use.
Bug: https://github.com/curl/curl/pull/12065#issuecomment-1752171885
Follow-up to aa9a6a1770
Co-authored-by: Jay Satiro
Reviewed-by: Daniel Stenberg
Closes #12067
This commit is contained in:
parent
a383d1372f
commit
5032f04ee9
@ -430,6 +430,7 @@ static CURLcode quic_ssl_ctx(SSL_CTX **pssl_ctx,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef OPENSSL_IS_BORINGSSL
|
||||||
{
|
{
|
||||||
const char *ciphers13 = conn->ssl_config.cipher_list13 ?
|
const char *ciphers13 = conn->ssl_config.cipher_list13 ?
|
||||||
conn->ssl_config.cipher_list13 : QUIC_CIPHERS;
|
conn->ssl_config.cipher_list13 : QUIC_CIPHERS;
|
||||||
@ -439,6 +440,7 @@ static CURLcode quic_ssl_ctx(SSL_CTX **pssl_ctx,
|
|||||||
}
|
}
|
||||||
infof(data, "QUIC cipher selection: %s", ciphers13);
|
infof(data, "QUIC cipher selection: %s", ciphers13);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Open the file if a TLS or QUIC backend has not done this before. */
|
/* Open the file if a TLS or QUIC backend has not done this before. */
|
||||||
Curl_tls_keylog_open();
|
Curl_tls_keylog_open();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user