aboutsummaryrefslogtreecommitdiff
path: root/crypto/dh/dh_rfc7919.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/dh/dh_rfc7919.c')
-rw-r--r--crypto/dh/dh_rfc7919.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/dh/dh_rfc7919.c b/crypto/dh/dh_rfc7919.c
index e9f3eaf..4e676fd 100644
--- a/crypto/dh/dh_rfc7919.c
+++ b/crypto/dh/dh_rfc7919.c
@@ -22,6 +22,7 @@ static DH *dh_param_init(const BIGNUM *p, int32_t nbits)
dh->p = (BIGNUM *)p;
dh->g = (BIGNUM *)&_bignum_const_2;
dh->length = nbits;
+ dh->dirty_cnt++;
return dh;
}