summaryrefslogtreecommitdiff
path: root/tests/cert
diff options
context:
space:
mode:
authorMartin Thomson <martin.thomson@gmail.com>2015-09-24 15:23:19 -0700
committerMartin Thomson <martin.thomson@gmail.com>2015-09-24 15:23:19 -0700
commita27721733849fe6e325517b0360b499f9d52f6e4 (patch)
tree1a90df7c7467772c0b33b34a9883cf715475a48b /tests/cert
parent17e682a08377faeca4f920992765b3e109e80732 (diff)
downloadnss-hg-a27721733849fe6e325517b0360b499f9d52f6e4.tar.gz
Bug 1208243 - Enable ssl_gtest if built, r=ekr
Diffstat (limited to 'tests/cert')
-rwxr-xr-xtests/cert/cert.sh57
1 files changed, 0 insertions, 57 deletions
diff --git a/tests/cert/cert.sh b/tests/cert/cert.sh
index e19cb6b56..114369f6b 100755
--- a/tests/cert/cert.sh
+++ b/tests/cert/cert.sh
@@ -1201,62 +1201,6 @@ cert_ssl()
pk12u -i ${R_STAPLINGDIR}/ca.p12 -k ${R_PWFILE} -w ${R_PWFILE} -d ${R_STAPLINGDIR}
}
-############################# ssl_gtest ##########################
-# local shell function to create serve certs for SSL gtests
-##################################################################
-cert_ssl_gtests()
-{
- CERTFAILED=0
- echo "$SCRIPTNAME: Creating ssl_gtest DB dir"
- cert_init_cert ${SSLGTESTDIR} "server" 1 ${D_EXT_SERVER}
- echo "$SCRIPTNAME: Creating database for ssl_gtests"
- certu -N -d "${SSLGTESTDIR}" --empty-password 2>&1
- # the ssl server used here is special: is a self-signed server
- # certificate with name server.
- echo "$SCRIPTNAME: Creating certs for ssl_gtests"
- certu -S -z ${R_NOISE_FILE} -g 2048 -d ${SSLGTESTDIR} -n server -s "CN=server" \
- -t C,C,C -x -m 1 -w -2 -v 120 -Z SHA256 -1 -2 <<CERTSCRIPT
-0
-2
-9
-n
-n
-
-n
-CERTSCRIPT
- if [ "$RET" -ne 0 ]; then
- echo "return value is $RET"
- Exit 6 "Fatal - failed to create RSA server cert for ssl_gtests"
- fi
- certu -S -z ${R_NOISE_FILE} -g 2048 -d ${SSLGTESTDIR} -n client -s "CN=client" \
- -t C,C,C -x -m 1 -w -2 -v 120 -Z SHA256 -1 -2 <<CERTSCRIPT
-0
-9
-n
-n
-
-n
-CERTSCRIPT
- if [ "$RET" -ne 0 ]; then
- echo "return value is $RET"
- Exit 6 "Fatal - failed to create RSA client cert for ssl_gtests"
- fi
- certu -S -z ${R_NOISE_FILE} -k ec -q nistp256 -d ${SSLGTESTDIR} -n ecdsa -s CN=ecdsa \
- -t C,C,C -x -m 1 -w -2 -v 120 -Z SHA256 -1 -2 <<CERTSCRIPT
-0
-9
-n
-n
-
-n
-CERTSCRIPT
-
- if [ "$RET" -ne 0 ]; then
- echo "return value is $RET"
- Exit 6 "Fatal - failed to create ECDSA server cert for ssl_gtests"
- fi
-}
-
############################## cert_stresscerts ################################
# local shell function to create client certs for SSL stresstest
########################################################################
@@ -2060,7 +2004,6 @@ cert_init
cert_all_CA
cert_extended_ssl
cert_ssl
-cert_ssl_gtests
cert_smime_client
if [ -z "$NSS_TEST_DISABLE_FIPS" ]; then
cert_fips