]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/dh/dh_lib.c
DH: have DH_set_length() increment the dirty count.
[thirdparty/openssl.git] / crypto / dh / dh_lib.c
index e6eba34ac9cbee32fa948e1db54990afeef27292..6280472ade4e7bc6abc112eb63671c729060a234 100644 (file)
@@ -243,6 +243,7 @@ long DH_get_length(const DH *dh)
 int DH_set_length(DH *dh, long length)
 {
     dh->length = length;
+    dh->dirty_cnt++;
     return 1;
 }