summaryrefslogtreecommitdiffstats
path: root/contrib/OCSP_check
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:29:39 +0200
commit959d60789b6f0bd74296600f58f626cfa9738f78 (patch)
tree23e9eac0c8aab49076e840784aeb6b4efcf1b0fc /contrib/OCSP_check
parentcdbd56ceeae4ef6352e19814447d402d0b5468c0 (diff)
downloadopenvpn-959d60789b6f0bd74296600f58f626cfa9738f78.tar.gz
openvpn-959d60789b6f0bd74296600f58f626cfa9738f78.tar.xz
openvpn-959d60789b6f0bd74296600f58f626cfa9738f78.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>
Diffstat (limited to 'contrib/OCSP_check')
-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