2022-06-28 08:46:22 +02:00
|
|
|
Index: nss/tests/cert/cert.sh
|
|
|
|
===================================================================
|
|
|
|
--- nss.orig/tests/cert/cert.sh
|
|
|
|
+++ nss/tests/cert/cert.sh
|
2023-03-13 09:10:43 +01:00
|
|
|
@@ -1350,6 +1350,11 @@ cert_stresscerts()
|
2022-06-28 08:46:22 +02:00
|
|
|
##############################################################################
|
|
|
|
cert_fips()
|
|
|
|
{
|
|
|
|
+ OLD_FIPS_MODE=`echo ${NSS_FIPS}`
|
|
|
|
+ OLD_CHECKSUMS_MODE=`echo ${NSS_IGNORE_CHECKSUMS}`
|
|
|
|
+ export NSS_FIPS=1
|
|
|
|
+ export NSS_IGNORE_CHECKSUMS=1
|
|
|
|
+
|
|
|
|
CERTFAILED=0
|
|
|
|
echo "$SCRIPTNAME: Creating FIPS 140 DSA Certificates =============="
|
|
|
|
cert_init_cert "${FIPSDIR}" "FIPS PUB 140 Test Certificate" 1000 "${D_FIPS}"
|
2023-03-13 09:10:43 +01:00
|
|
|
@@ -1390,6 +1395,8 @@ MODSCRIPT
|
2022-06-28 08:46:22 +02:00
|
|
|
cert_log "SUCCESS: FIPS passed"
|
|
|
|
fi
|
|
|
|
|
|
|
|
+ export NSS_FIPS=${OLD_FIPS_MODE}
|
|
|
|
+ export NSS_IGNORE_CHECKSUMS=${OLD_CHECKSUMS_MODE}
|
|
|
|
}
|
|
|
|
|
|
|
|
########################## cert_rsa_exponent #################################
|