summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2014-03-28 11:07:01 +0100
committerGert Doering <gert@greenie.muc.de>2014-04-25 20:31:29 +0200
commitd160a62852408121ce8fc023a89f47c7920c16e8 (patch)
tree7c01e31c46ef3e68d0bd5ea0c4894bed462d5aa6 /contrib
parent413f052937179c60cadf571933a3eb4b3058a7dc (diff)
downloadopenvpn-d160a62852408121ce8fc023a89f47c7920c16e8.tar.gz
openvpn-d160a62852408121ce8fc023a89f47c7920c16e8.tar.xz
openvpn-d160a62852408121ce8fc023a89f47c7920c16e8.zip
Fix man page and OSCP script: tls_serial_{n} is decimal
Commit 7d5e26cbb53 fixed extracting serial but did not change the format, which always has been decimal. This patch fixes the manpage and OSCP.sh script to conform with the implementation. Acked-by: James Yonan <james@openvpn.net> Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <1396001222-5033-1-git-send-email-arne@rfc2549.org> URL: http://article.gmane.org/gmane.network.openvpn.devel/8409 Signed-off-by: Gert Doering <gert@greenie.muc.de> (cherry picked from commit 959d60789b6f0bd74296600f58f626cfa9738f78)
Diffstat (limited to 'contrib')
-rw-r--r--contrib/OCSP_check/OCSP_check.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/OCSP_check/OCSP_check.sh b/contrib/OCSP_check/OCSP_check.sh
index 847be45..7e9e1e8 100644
--- a/contrib/OCSP_check/OCSP_check.sh
+++ b/contrib/OCSP_check/OCSP_check.sh
@@ -97,7 +97,7 @@ if [ $check_depth -eq -1 ] || [ $cur_depth -eq $check_depth ]; then
"$nonce" \
-CAfile "$verify" \
-url "$ocsp_url" \
- -serial "0x${serial}" 2>/dev/null)
+ -serial "${serial}" 2>/dev/null)
if [ $? -eq 0 ]; then
# check that it's good