aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_messages.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-01-23 13:38:08 +0000
committerlloyd <[email protected]>2012-01-23 13:38:08 +0000
commit8bba8bab6077ee184c102d6634b288e7dd32b1dc (patch)
tree21054caf18db1077c9ab3598981bd45d318d3dea /src/tls/tls_messages.h
parent99b96f74af6e13f99f53ecda061697da72c5d4fb (diff)
Remove the key() method on server key exchange - instead leave it to
the client key exchange object to interpret the message on the basis of the chosen ciphersuite.
Diffstat (limited to 'src/tls/tls_messages.h')
-rw-r--r--src/tls/tls_messages.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tls/tls_messages.h b/src/tls/tls_messages.h
index e58a3bfbf..3579f7828 100644
--- a/src/tls/tls_messages.h
+++ b/src/tls/tls_messages.h
@@ -356,7 +356,8 @@ class Server_Key_Exchange : public Handshake_Message
{
public:
Handshake_Type type() const { return SERVER_KEX; }
- Public_Key* key() const;
+
+ const std::vector<BigInt>& params() const { return m_params; }
bool verify(const X509_Certificate& cert,
TLS_Handshake_State* state) const;