summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index 7f1dfa1286..538b0d8510 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -1295,7 +1295,7 @@ static void init_dh_param(void) {
dh_param_g = g;
ctx = BN_CTX_new();
- for (i=0; i<4; ++i) {
+ for (i=0; i<5; ++i) {
BIGNUM *x = BN_new(), *g_x = BN_new();
char *x_s, *g_x_s;
BN_copy(x, dh_param_p);