aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_handshake_state.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-01-25 12:49:29 +0000
committerlloyd <[email protected]>2012-01-25 12:49:29 +0000
commit50bcbb4d8f09189cc669bb482487858234da7f6e (patch)
tree0082a6a93e6929f7bdb671d7f46dc8c3918072ce /src/tls/tls_handshake_state.h
parent47ff984c0ae0f077b029d0921e7ce1b62fc8f72f (diff)
Move all key exchange mechanism code (eg DH/ECDH/SRP) out of the
server handshake flow and into the server and client key exchange message types. It already was hidden from the client handshake code.
Diffstat (limited to 'src/tls/tls_handshake_state.h')
-rw-r--r--src/tls/tls_handshake_state.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tls/tls_handshake_state.h b/src/tls/tls_handshake_state.h
index 7339033c4..93846da52 100644
--- a/src/tls/tls_handshake_state.h
+++ b/src/tls/tls_handshake_state.h
@@ -78,7 +78,8 @@ class Handshake_State
class Finished* client_finished;
class Finished* server_finished;
- Private_Key* kex_priv;
+ // Used by the server only, in case of RSA key exchange
+ Private_Key* server_rsa_kex_key;
Ciphersuite suite;
Session_Keys keys;