From: james Date: Mon, 3 Nov 2008 13:11:23 +0000 (+0000) Subject: Fixed revoke-full to deal with issue arising from addition X-Git-Tag: v2.1_rc14~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2534aa49c8189cc888e754fff97d4d89541fed54;p=thirdparty%2Fopenvpn.git 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 --- diff --git a/easy-rsa/2.0/revoke-full b/easy-rsa/2.0/revoke-full index bf3e5fbf3..efc94e869 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"