curl_ngtcp2: fix error message

This commit is contained in:
Jay Satiro 2023-09-12 03:14:16 -04:00
parent b5c65f8b7b
commit ae5d433ecd

View File

@ -619,7 +619,7 @@ static CURLcode quic_ssl_ctx(WOLFSSL_CTX **pssl_ctx,
if(wolfSSL_CTX_set_cipher_list(ssl_ctx, QUIC_CIPHERS) != 1) {
char error_buffer[256];
ERR_error_string_n(ERR_get_error(), error_buffer, sizeof(error_buffer));
failf(data, "SSL_CTX_set_ciphersuites: %s", error_buffer);
failf(data, "wolfSSL_CTX_set_cipher_list: %s", error_buffer);
goto out;
}