diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2013-07-13 22:56:07 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2013-07-13 22:56:07 +0200 |
commit | dd6a0b51acea0e7b24eea800fd27b3f96c0ed8cb (patch) | |
tree | bd0d7e850aa66722a7b4ca1f3b6912d23119b167 /src/ecdh.c | |
parent | 3b81da21c2a515cac146bdf164ccc32ad83fc069 (diff) | |
download | libssh-dd6a0b51acea0e7b24eea800fd27b3f96c0ed8cb.tar.gz libssh-dd6a0b51acea0e7b24eea800fd27b3f96c0ed8cb.tar.xz libssh-dd6a0b51acea0e7b24eea800fd27b3f96c0ed8cb.zip |
Server: fix rekeying
Diffstat (limited to 'src/ecdh.c')
-rw-r--r-- | src/ecdh.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -312,16 +312,6 @@ int ssh_server_ecdh_init(ssh_session session, ssh_buffer packet){ return SSH_ERROR; } - /* Free private keys as they should not be readable after this point */ - if (session->srv.rsa_key) { - ssh_key_free(session->srv.rsa_key); - session->srv.rsa_key = NULL; - } - if (session->srv.dsa_key) { - ssh_key_free(session->srv.dsa_key); - session->srv.dsa_key = NULL; - } - ssh_log(session,SSH_LOG_PROTOCOL, "SSH_MSG_KEXDH_REPLY sent"); rc = packet_send(session); if (rc == SSH_ERROR) { |