aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_handshake_state.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-01-20 13:52:54 +0000
committerlloyd <[email protected]>2012-01-20 13:52:54 +0000
commitf7f94a9ade8869caca24aed9bde92bce117991f7 (patch)
tree281baefc47b4ad9287a4b48d9c5d55dec32278fd /src/tls/tls_handshake_state.h
parent4c3d3e1c56451c635fb81dadfb249ce1856af0ce (diff)
Many fixes for TLS 1.2 though some things in particular client auth
remain broken. New interface for querying the TLS extensions, much cleaner.
Diffstat (limited to 'src/tls/tls_handshake_state.h')
-rw-r--r--src/tls/tls_handshake_state.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tls/tls_handshake_state.h b/src/tls/tls_handshake_state.h
index 1beaf74b3..3480ee85f 100644
--- a/src/tls/tls_handshake_state.h
+++ b/src/tls/tls_handshake_state.h
@@ -49,6 +49,13 @@ class TLS_Handshake_State
std::pair<std::string, Signature_Format>
choose_sig_format(const Public_Key* key,
TLS_Ciphersuite_Algos hash_algo,
+ TLS_Ciphersuite_Algos sig_algo,
+ bool for_client_auth);
+
+ std::pair<std::string, Signature_Format>
+ choose_sig_format(const Private_Key* key,
+ TLS_Ciphersuite_Algos& hash_algo,
+ TLS_Ciphersuite_Algos& sig_algo,
bool for_client_auth);
Version_Code version;