Skip to content

Commit c6f02b4

Browse files
authored
Merge pull request #1211 from roemil/bug/fix-tls_1_3-ciphers
Fix usage for TLS v1.3 cipher
2 parents d202b82 + 2780faf commit c6f02b4

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
@@ -594,7 +594,7 @@ void Session::SetSslOptions(const SslOptions& options) {
594594
}
595595
#if SUPPORT_TLSv13_CIPHERS
596596
if (!options.tls13_ciphers.empty()) {
597-
curl_easy_setopt(curl_->handle, CURLOPT_TLS13_CIPHERS, options.ciphers.c_str());
597+
curl_easy_setopt(curl_->handle, CURLOPT_TLS13_CIPHERS, options.tls13_ciphers.c_str());
598598
}
599599
#endif
600600
#if SUPPORT_SESSIONID_CACHE

0 commit comments

Comments
 (0)