aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_messages.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tls/tls_messages.h')
-rw-r--r--src/tls/tls_messages.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tls/tls_messages.h b/src/tls/tls_messages.h
index ec2229c21..33cd9e493 100644
--- a/src/tls/tls_messages.h
+++ b/src/tls/tls_messages.h
@@ -60,10 +60,11 @@ class Client_Hello : public Handshake_Message
return v;
}
- std::vector<std::pair<std::string, std::string> > supported_algos() const
+ const std::vector<std::pair<std::string, std::string> >& supported_algos() const
{ return m_supported_algos; }
- const std::vector<std::string> supported_ecc_curves() const { return m_supported_curves; }
+ const std::vector<std::string>& supported_ecc_curves() const
+ { return m_supported_curves; }
std::vector<u16bit> ciphersuites() const { return m_suites; }
std::vector<byte> compression_methods() const { return m_comp_methods; }