diff options
author | lloyd <[email protected]> | 2012-09-07 19:40:54 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-09-07 19:40:54 +0000 |
commit | 4f1d7f4a08201b6495dae63af5f96d36687bff6e (patch) | |
tree | a382819aca1284106768678c1297d1ebf4508f3d /src/tls/tls_handshake_state.h | |
parent | 3a05ab962a7bb4fe4ecb19ac2972f76ac6756b09 (diff) |
Save the peer public key in the handshake state instead of pulling it
out of the cert repeatedly.
Diffstat (limited to 'src/tls/tls_handshake_state.h')
-rw-r--r-- | src/tls/tls_handshake_state.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tls/tls_handshake_state.h b/src/tls/tls_handshake_state.h index 486e6bfb8..0ada6cfd7 100644 --- a/src/tls/tls_handshake_state.h +++ b/src/tls/tls_handshake_state.h @@ -80,13 +80,13 @@ class Handshake_State const std::vector<byte>& session_ticket() const; std::pair<std::string, Signature_Format> - understand_sig_format(const Public_Key* key, + understand_sig_format(const Public_Key& key, std::string hash_algo, std::string sig_algo, bool for_client_auth) const; std::pair<std::string, Signature_Format> - choose_sig_format(const Private_Key* key, + choose_sig_format(const Private_Key& key, std::string& hash_algo, std::string& sig_algo, bool for_client_auth, |