aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tls/tls_ciphersuite.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tls/tls_ciphersuite.cpp b/src/tls/tls_ciphersuite.cpp
index 1cc8a8f2f..9c9950818 100644
--- a/src/tls/tls_ciphersuite.cpp
+++ b/src/tls/tls_ciphersuite.cpp
@@ -109,8 +109,8 @@ std::string Ciphersuite::to_string() const
else
out << replace_chars(cipher_algo(), {'-', '/'}, '_');
- if(cipher_algo().find("/GCM") != std::string::npos)
- out << "_";
+ if(cipher_algo().find("/") != std::string::npos)
+ out << "_"; // some explicit mode already included
else
out << "_CBC_";
}