mirror of
https://github.com/openssl/openssl.git
synced 2025-02-23 14:42:15 +08:00
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)
This commit is contained in:
parent
0ba71d6a63
commit
ee55a20727
@ -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…
Reference in New Issue
Block a user