From 2534aa49c8189cc888e754fff97d4d89541fed54 Mon Sep 17 00:00:00 2001 From: james Date: Mon, 3 Nov 2008 13:11:23 +0000 Subject: Fixed revoke-full to deal with issue arising from addition of KEY_NAME environmental variable parameter to openssl.cnf git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3472 e7ae566f-a301-0410-adde-c780ea21d3b5 --- easy-rsa/2.0/revoke-full | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'easy-rsa') diff --git a/easy-rsa/2.0/revoke-full b/easy-rsa/2.0/revoke-full index bf3e5fb..efc94e8 100755 --- a/easy-rsa/2.0/revoke-full +++ b/easy-rsa/2.0/revoke-full @@ -7,7 +7,7 @@ CRL="crl.pem" RT="revoke-test.pem" if [ $# -ne 1 ]; then - echo "usage: revoke-full "; + echo "usage: revoke-full "; exit 1 fi @@ -18,6 +18,7 @@ if [ "$KEY_DIR" ]; then # set defaults export KEY_CN="" export KEY_OU="" + export KEY_NAME="" # revoke key and generate a new CRL $OPENSSL ca -revoke "$1.crt" -config "$KEY_CONFIG" -- cgit v1.2.3