diff options
author | lloyd <[email protected]> | 2013-04-12 14:22:38 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2013-04-12 14:22:38 +0000 |
commit | 369cec8f5145e18fb46dc1ccc64370a961cd7bcd (patch) | |
tree | fcd2f6a45cfab67c551e5f6378e72b3b05b5d757 /src/tls | |
parent | bcee79d0d4dff8c0cbe4d753171359d565aca9c7 (diff) |
Fix Ciphersuite::to_string when using non-GCM AEAD modes
Diffstat (limited to 'src/tls')
-rw-r--r-- | src/tls/tls_ciphersuite.cpp | 4 |
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_"; } |