summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dh.c b/src/dh.c
index 5a724a2a..ca2c2bf9 100644
--- a/src/dh.c
+++ b/src/dh.c
@@ -170,7 +170,7 @@ int ssh_crypto_init(void) {
return -1;
}
bignum_bin2bn(p_group14_value, P_GROUP14_LEN, &p_group14);
- if (p_group1 == NULL) {
+ if (p_group14 == NULL) {
bignum_free(g);
bignum_free(p_group1);
g = NULL;