MXS-1400: Fix crash with OpenSSL 1.1
Added the missing parameter for the RSA key generation function.
This commit is contained in:
parent
9ceb23dd65
commit
81202eac89
@ -223,7 +223,7 @@ RSA* create_rsa(int bits)
|
||||
BIGNUM* bn = BN_new();
|
||||
BN_set_word(bn, RSA_F4);
|
||||
RSA* rsa = RSA_new();
|
||||
RSA_generate_key_ex(rsa, bits, NULL, NULL);
|
||||
RSA_generate_key_ex(rsa, bits, bn, NULL);
|
||||
BN_free(bn);
|
||||
return rsa;
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user