diff options
author | lloyd <[email protected]> | 2012-02-28 19:41:28 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-02-28 19:41:28 +0000 |
commit | 92883d3d593479eb2307eb0696f1161f4fec28fc (patch) | |
tree | b49aa4f0dfe3515568de7fa4b0baf2a563a1233d | |
parent | af9732d497fdfc7b9e36e0772149e9c22dee7c6a (diff) |
Bad conditional
-rw-r--r-- | src/tls/tls_ciphersuite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls/tls_ciphersuite.cpp b/src/tls/tls_ciphersuite.cpp index 82e2cdd28..247948464 100644 --- a/src/tls/tls_ciphersuite.cpp +++ b/src/tls/tls_ciphersuite.cpp @@ -309,7 +309,7 @@ std::string Ciphersuite::to_string() const { if(cipher_algo() == "3DES") out << "3DES_EDE"; - if(cipher_algo() == "Camellia") + else if(cipher_algo() == "Camellia") out << "CAMELLIA_" << Botan::to_string(8*cipher_keylen()); else out << replace_char(cipher_algo(), '-', '_'); |