aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/c_hello.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-01-23 21:51:18 +0000
committerlloyd <[email protected]>2012-01-23 21:51:18 +0000
commit01039638f8b5387540c4bacd4d236a8b8e806d0f (patch)
tree4aada3b77da95061b8a6778b23afbd3569696392 /src/tls/c_hello.cpp
parenta12a50cc0eaf5113d2f0687f4c1d4be5ff820838 (diff)
Add Ciphersuite::to_string
Add a convenience function to Session that returns the ciphersuite class since mostly users won't care about the underlying code point.
Diffstat (limited to 'src/tls/c_hello.cpp')
-rw-r--r--src/tls/c_hello.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls/c_hello.cpp b/src/tls/c_hello.cpp
index 00728ff16..55bf39318 100644
--- a/src/tls/c_hello.cpp
+++ b/src/tls/c_hello.cpp
@@ -123,7 +123,7 @@ Client_Hello::Client_Hello(Record_Writer& writer,
m_fragment_size(session.fragment_size()),
m_secure_renegotiation(session.secure_renegotiation())
{
- m_suites.push_back(session.ciphersuite());
+ m_suites.push_back(session.ciphersuite_code());
m_comp_methods.push_back(session.compression_method());
// set m_supported_algos here?