Skip to content

Commit 2780faf

Browse files
author
Emil Rosenberg
committed
Fix usage for TLS v1.3 cipher
1 parent d202b82 commit 2780faf

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)