Skip to content

Commit b8aa9af

Browse files
committed
Merge pull request #1211 from roemil/bug/fix-tls_1_3-ciphers
Fix usage for TLS v1.3 cipher
1 parent b07022c commit b8aa9af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpr/session.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ void Session::SetSslOptions(const SslOptions& options) {
575575
}
576576
#if SUPPORT_TLSv13_CIPHERS
577577
if (!options.tls13_ciphers.empty()) {
578-
curl_easy_setopt(curl_->handle, CURLOPT_TLS13_CIPHERS, options.ciphers.c_str());
578+
curl_easy_setopt(curl_->handle, CURLOPT_TLS13_CIPHERS, options.tls13_ciphers.c_str());
579579
}
580580
#endif
581581
#if SUPPORT_SESSIONID_CACHE

0 commit comments

Comments
 (0)