aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/tls/tls_client.cpp')
-rw-r--r--src/lib/tls/tls_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/tls_client.cpp b/src/lib/tls/tls_client.cpp
index 4647e11cb..c35149d6b 100644
--- a/src/lib/tls/tls_client.cpp
+++ b/src/lib/tls/tls_client.cpp
@@ -161,7 +161,7 @@ void Client::send_client_hello(Handshake_State& state_base,
Ensure that the session protocol type matches what we want to use
If not skip the resume and establish a new session
*/
- if(version == session_info.version())
+ if(version == session_info.version() && policy().acceptable_ciphersuite(session_info.ciphersuite()))
{
if(srp_identifier == "" || session_info.srp_identifier() == srp_identifier)
{