diff options
author | lloyd <[email protected]> | 2011-12-29 02:41:53 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-12-29 02:41:53 +0000 |
commit | caa9dfa12cf69bb4ab88c399e61e856fedb24900 (patch) | |
tree | 2df3665d97199c4150515667e89272679210f069 /src/tls/s_kex.cpp | |
parent | 6432abc730f65328affb4f0ca7c0116b3ded353f (diff) |
Clean up the ordering of constructor args to the various message types
Diffstat (limited to 'src/tls/s_kex.cpp')
-rw-r--r-- | src/tls/s_kex.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tls/s_kex.cpp b/src/tls/s_kex.cpp index dd79e527e..150f13474 100644 --- a/src/tls/s_kex.cpp +++ b/src/tls/s_kex.cpp @@ -19,13 +19,13 @@ namespace Botan { /** * Create a new Server Key Exchange message */ -Server_Key_Exchange::Server_Key_Exchange(RandomNumberGenerator& rng, - Record_Writer& writer, +Server_Key_Exchange::Server_Key_Exchange(Record_Writer& writer, + TLS_Handshake_Hash& hash, + RandomNumberGenerator& rng, const Public_Key* kex_key, const Private_Key* priv_key, const MemoryRegion<byte>& c_random, - const MemoryRegion<byte>& s_random, - TLS_Handshake_Hash& hash) + const MemoryRegion<byte>& s_random) { const DH_PublicKey* dh_pub = dynamic_cast<const DH_PublicKey*>(kex_key); const RSA_PublicKey* rsa_pub = dynamic_cast<const RSA_PublicKey*>(kex_key); |