Browse Source

DH: have DH_set_length() increment the dirty count.

The recommended private key length is a key parameter among other key
parameters, and is included in the key data transferred in an import
or export between legacy implementations and provider implementations.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13166)
master
Richard Levitte 2 years ago
parent
commit
ee55a20727
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      crypto/dh/dh_lib.c

+ 1
- 0
crypto/dh/dh_lib.c View 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;
}


Loading…
Cancel
Save