diff options
Diffstat (limited to 'src/tls/tls_messages.h')
-rw-r--r-- | src/tls/tls_messages.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls/tls_messages.h b/src/tls/tls_messages.h index 880f77c98..8cfaea37e 100644 --- a/src/tls/tls_messages.h +++ b/src/tls/tls_messages.h @@ -131,7 +131,7 @@ class Certificate : public HandshakeMessage { public: Handshake_Type type() const { return CERTIFICATE; } - std::vector<X509_Certificate> cert_chain() const { return certs; } + const std::vector<X509_Certificate>& cert_chain() const { return certs; } size_t count() const { return certs.size(); } bool empty() const { return certs.empty(); } |