Fix using the wrong variable for the ciphersuites in ssl_openssl.

This commit is contained in:
Sadie Powell 2021-07-19 18:40:53 +01:00
parent f75335f98b
commit c5c3004561

View File

@ -429,7 +429,7 @@ namespace OpenSSL
}
const std::string ciphersuites = tag->getString("ciphersuites");
if (!ciphers.empty())
if (!ciphersuites.empty())
{
#if OPENSSL_VERSION_NUMBER >= 0x10101000L
if ((!ctx.SetCiphersuites(ciphersuites)) || (!clientctx.SetCiphersuites(ciphersuites)))