forked from rpms/openssl
Fix incorrect error return value from FIPS_selftest_dsa()
This commit is contained in:
parent
898af7893c
commit
d742997a1e
@ -7444,7 +7444,7 @@ diff -up openssl-1.1.1d/crypto/fips/fips_dsa_selftest.c.fips openssl-1.1.1d/cryp
|
||||
+{
|
||||
+ DSA *dsa = NULL;
|
||||
+ EVP_PKEY *pk = NULL;
|
||||
+ int ret = -1;
|
||||
+ int ret = 0;
|
||||
+ BIGNUM *p = NULL, *q = NULL, *g = NULL, *pub_key = NULL, *priv_key = NULL;
|
||||
+
|
||||
+ fips_load_key_component(p, dsa_test_2048);
|
||||
|
Loading…
Reference in New Issue
Block a user