summaryrefslogtreecommitdiff
path: root/tests/chains
diff options
context:
space:
mode:
authorKai Engert <kaie@kuix.de>2013-10-08 14:42:38 +0200
committerKai Engert <kaie@kuix.de>2013-10-08 14:42:38 +0200
commit1d2eed84c9e9e82305c220a65b48b214a34b2986 (patch)
treeffcd89a5ea94eb63305c274dd4b17532ffa28740 /tests/chains
parent94abcf1b3069286b5507d62ba6d3298fdaa63e1b (diff)
downloadnss-hg-1d2eed84c9e9e82305c220a65b48b214a34b2986.tar.gz
Bug 436414, bustage fix, long hostnames, allow pp to not wrap the OCSP URL, TBR=rrelyea
Diffstat (limited to 'tests/chains')
-rw-r--r--tests/chains/chains.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/chains/chains.sh b/tests/chains/chains.sh
index 8ba2c08db..b53d928cf 100644
--- a/tests/chains/chains.sh
+++ b/tests/chains/chains.sh
@@ -971,8 +971,8 @@ check_ocsp()
# sample line:
# URI: "http://ocsp.server:2601"
- OCSP_HOST=$(${BINDIR}/pp -t certificate -i ${CERT_FILE} | grep URI | sed "s/.*:\/\///" | sed "s/:.*//")
- OCSP_PORT=$(${BINDIR}/pp -t certificate -i ${CERT_FILE} | grep URI | sed "s/^.*:.*:\/\/.*:\([0-9]*\).*$/\1/")
+ OCSP_HOST=$(${BINDIR}/pp -w -t certificate -i ${CERT_FILE} | grep URI | sed "s/.*:\/\///" | sed "s/:.*//")
+ OCSP_PORT=$(${BINDIR}/pp -w -t certificate -i ${CERT_FILE} | grep URI | sed "s/^.*:.*:\/\/.*:\([0-9]*\).*$/\1/")
echo "tstclnt -h ${OCSP_HOST} -p ${OCSP_PORT} -q -t 20"
tstclnt -h ${OCSP_HOST} -p ${OCSP_PORT} -q -t 20