aboutsummaryrefslogtreecommitdiff
path: root/src/dh-gex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dh-gex.c')
-rw-r--r--src/dh-gex.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/dh-gex.c b/src/dh-gex.c
index a52be036..cbe7e02c 100644
--- a/src/dh-gex.c
+++ b/src/dh-gex.c
@@ -552,12 +552,6 @@ static SSH_PACKET_CALLBACK(ssh_packet_server_dhgex_request)
goto error;
}
- rc = ssh_dh_init_common(session);
- if (rc != SSH_OK){
- ssh_set_error_oom(session);
- goto error;
- }
-
/* Minimum group size, preferred group size, maximum group size */
rc = ssh_buffer_unpack(packet, "ddd", &pmin, &pn, &pmax);
if (rc != SSH_OK){