File nss-fips-cavs-rsa-fixes.patch of Package mozilla-nss.14856

From 9b4636ad75add2ac09ce1844b3071785d563c275 Mon Sep 17 00:00:00 2001
From: Hans Petter Jansson <hpj@cl.no>
Date: Wed, 20 Nov 2019 09:08:17 +0100
Subject: [PATCH] 25

---
 nss/cmd/fipstest/fipstest.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/nss/cmd/fipstest/fipstest.c b/nss/cmd/fipstest/fipstest.c
index 1a1465b..c14f532 100644
--- a/nss/cmd/fipstest/fipstest.c
+++ b/nss/cmd/fipstest/fipstest.c
@@ -6536,7 +6536,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,
@@ -9015,6 +9015,7 @@ main(int argc, char **argv)
     init_functions();
     RNG_RNGInit();
     SECOID_Init();
+    BL_Init();
 
     /*************/
     /*   TDEA    */
-- 
2.21.0

openSUSE Build Service is sponsored by