diff options
author | lloyd <[email protected]> | 2011-12-28 16:23:10 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-12-28 16:23:10 +0000 |
commit | d1324eb8283bf9adfbe5dca05be1ecbffba8a339 (patch) | |
tree | 6271429b011ea1455c45284ab16fdb0267b37db5 /src/tls/tls_messages.h | |
parent | 5ee3046bc9b8517bb6de5eda34f03ee907f9ff16 (diff) |
Save peer certs in session info. Use helper function for handshake
hashing.
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(); } |