From d742997a1e82139bb63858419389dc72cad68698 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Wed, 12 Feb 2020 17:03:11 +0100 Subject: [PATCH] Fix incorrect error return value from FIPS_selftest_dsa() --- openssl-1.1.1-fips.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openssl-1.1.1-fips.patch b/openssl-1.1.1-fips.patch index 9063069..4c43d17 100644 --- a/openssl-1.1.1-fips.patch +++ b/openssl-1.1.1-fips.patch @@ -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);