Fix incorrect error return value from FIPS_selftest_dsa()

This commit is contained in:
Tomas Mraz 2020-02-12 17:03:11 +01:00
parent 898af7893c
commit d742997a1e
1 changed files with 1 additions and 1 deletions

View File

@ -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);