diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/cert/cert.sh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/cert/cert.sh b/tests/cert/cert.sh index ca0646055..1e7c091e5 100755 --- a/tests/cert/cert.sh +++ b/tests/cert/cert.sh @@ -1260,10 +1260,6 @@ MODSCRIPT CU_ACTION="Setting invalid database password in FIPS mode" RETEXPECTED=255 certu -W -d "${PROFILEDIR}" -f "${R_FIPSPWFILE}" -@ "${R_FIPSBADPWFILE}" 2>&1 - CU_ACTION="Attempt to generate a key with exponent of 3 (too small)" - certu -G -k rsa -g 2048 -y 3 -d "${PROFILEDIR}" -z ${R_NOISE_FILE} -f "${R_FIPSPWFILE}" - CU_ACTION="Attempt to generate a key with exponent of 17 (too small)" - certu -G -k rsa -g 2048 -y 17 -d "${PROFILEDIR}" -z ${R_NOISE_FILE} -f "${R_FIPSPWFILE}" RETEXPECTED=0 CU_ACTION="Generate Certificate for ${CERTNAME}" @@ -1272,20 +1268,6 @@ MODSCRIPT if [ "$RET" -eq 0 ]; then cert_log "SUCCESS: FIPS passed" fi - -} - -########################## cert_rsa_exponent ################################# -# local shell function to verify small rsa exponent can be used (only -# run if FIPS has not been turned on in the build). -############################################################################## -cert_rsa_exponent() -{ - echo "$SCRIPTNAME: Verify that small RSA exponents still work ==============" - CU_ACTION="Attempt to generate a key with exponent of 3" - certu -G -k rsa -g 2048 -y 3 -d "${PROFILEDIR}" -z ${R_NOISE_FILE} -f "${R_FIPSPWFILE}" - CU_ACTION="Attempt to generate a key with exponent of 17" - certu -G -k rsa -g 2048 -y 17 -d "${PROFILEDIR}" -z ${R_NOISE_FILE} -f "${R_FIPSPWFILE}" } ############################## cert_eccurves ########################### @@ -1995,8 +1977,6 @@ cert_ssl cert_smime_client if [[ -n "$NSS_TEST_ENABLE_FIPS" ]]; then cert_fips -else - cert_rsa_exponent fi cert_eccurves cert_extensions |