File nss-fips-cavs-rsa-fixes.patch of Package mozilla-nss.6304
commit 61753c383df080c3e29a635b3ad09e0c29190567
Author: Hans Petter Jansson <hpj@suse.com>
Date: Fri Oct 13 03:45:49 2017 +0200
fipstest: Fix RSA test.
diff --git a/nss/cmd/fipstest/fipstest.c b/nss/cmd/fipstest/fipstest.c
index ec86b58..08d05a5 100644
--- a/nss/cmd/fipstest/fipstest.c
+++ b/nss/cmd/fipstest/fipstest.c
@@ -5441,7 +5441,7 @@ rsa_siggen_test(char *reqfn)
/* Output the signature */
fputs(buf, rsaresp);
to_hex_str(buf, rsa_computed_signature, rsa_bytes_signed);
- fprintf(rsaresp, "S = %s\n", buf);
+ fprintf(rsaresp, "S = %s\n\n", buf);
/* Perform RSA verification with the RSA public key. */
rv = RSA_HashCheckSign(shaOid,
@@ -6669,6 +6669,7 @@ main(int argc, char **argv)
init_functions();
RNG_RNGInit();
SECOID_Init();
+ BL_Init();
/*************/
/* TDEA */