aboutsummaryrefslogtreecommitdiff
path: root/src/dh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dh.c')
-rw-r--r--src/dh.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/dh.c b/src/dh.c
index b6ae33c6..5bfa8b35 100644
--- a/src/dh.c
+++ b/src/dh.c
@@ -247,20 +247,6 @@ int ssh_dh_init(void)
goto error;
}
-#if defined(HAVE_LIBMBEDCRYPTO)
- /* FIXME */
- p_group1 = bignum_new();
- bignum_bin2bn(p_group1_value, P_GROUP1_LEN, p_group1);
-
- p_group14 = bignum_new();
- bignum_bin2bn(p_group14_value, P_GROUP14_LEN, p_group14);
-
- p_group16 = bignum_new();
- bignum_bin2bn(p_group16_value, P_GROUP16_LEN, p_group16);
-
- p_group18 = bignum_new();
- bignum_bin2bn(p_group18_value, P_GROUP18_LEN, p_group18);
-#else
bignum_bin2bn(p_group1_value, P_GROUP1_LEN, &p_group1);
if (p_group1 == NULL) {
goto error;
@@ -278,8 +264,6 @@ int ssh_dh_init(void)
goto error;
}
-#endif
-
dh_crypto_initialized = 1;
return 0;