32 lines
1.0 KiB
Diff
32 lines
1.0 KiB
Diff
|
|
# HG changeset patch
|
|
# User Kai Engert <kaie@kuix.de>
|
|
# Date 1508150373 -7200
|
|
# Node ID e73fedaecd63afe28c9da46cd26906f247375d59
|
|
# Parent 24695a55c095a1c37ed92ac2a4fa6c56595e17c0
|
|
Bug 1403691, follow up fix to allow the pkits tests to work with sql db format
|
|
|
|
diff --git a/tests/pkits/pkits.sh b/tests/pkits/pkits.sh
|
|
--- a/tests/pkits/pkits.sh
|
|
+++ b/tests/pkits/pkits.sh
|
|
@@ -88,17 +88,17 @@ pkits_init()
|
|
echo "PKITS_DATA" $PKITS_DATA
|
|
echo "certs" $certs
|
|
echo "crls" $crls
|
|
|
|
echo nss > ${PKITSdb}/pw
|
|
${BINDIR}/certutil -N -d ${PKITSdb} -f ${PKITSdb}/pw
|
|
|
|
${BINDIR}/certutil -A -n TrustAnchorRootCertificate -t "C,C,C" -i \
|
|
- $certs/TrustAnchorRootCertificate.crt -d $PKITSdb
|
|
+ $certs/TrustAnchorRootCertificate.crt -d $PKITSdb -f ${PKITSdb}/pw
|
|
if [ -z "$NSS_NO_PKITS_CRLS" ]; then
|
|
${BINDIR}/crlutil -I -i $crls/TrustAnchorRootCRL.crl -d ${PKITSdb} -f ${PKITSdb}/pw
|
|
else
|
|
html "<H3>NO CRLs are being used.</H3>"
|
|
pkits_log "NO CRLs are being used."
|
|
fi
|
|
|
|
cp ${PKITSdb}/* ${PKITSbkp}
|
|
|