File libica-sles15sp5-FIPS-hmac-key.patch of Package libica.31145

Index: libica-4.2.1/src/fips.c
===================================================================
--- libica-4.2.1.orig/src/fips.c
+++ libica-4.2.1/src/fips.c
@@ -69,10 +69,9 @@ int openssl_in_fips_mode(void)
  * integrity test. The recommended key size for HMAC-SHA256 is 64 bytes.
  * The known HMAC is supposed to be provided as hex string in a file
  * .libica.so.VERSION.hmac in the same directory as the .so module.
- */
+ * HMAC key is hexidecimal for: "orboDeJITITejsirpADONivirpUkvarP" */
 static const char hmackey[] =
-	"0000000000000000000000000000000000000000000000000000000000000000"
-	"0000000000000000000000000000000000000000000000000000000000000000";
+	"6f72626f44654a49544954656a7369727041444f4e6976697270556b76617250";
 
 #endif /* ICA_INTERNAL_TEST */
 
openSUSE Build Service is sponsored by