From 48f7ed5f103689f6a3d8c5ee05d14ea58e3dd743 Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Wed, 17 Aug 2022 18:20:43 +0100 Subject: [PATCH] Re-enable the use of --vars=file for init-pki Since relaxing the rules concerning the location of vars file, commit f4a604438d3ce5fe67a1f4db956dc42fc4ae5588, it is no longer necessary to prohibit the use of --vars=file with 'init-pki'. This initial prohibition was only a temporary measure and has proven to be of no value. Signed-off-by: Richard T Bonhomme --- easyrsa3/easyrsa | 4 ---- 1 file changed, 4 deletions(-) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index 43ccc0d..2d6eea3 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -4786,10 +4786,6 @@ vars_setup # determine how we were called, then hand off to the function responsible case "$cmd" in init-pki|clean-all) - if [ "$user_vars_true" ]; then - # Ref: https://github.com/OpenVPN/easy-rsa/issues/566 - die "Use of '--vars=FILE init-pki' is prohibited, use '--pki-dir=DIR'" - fi init_pki "$@" ;; build-ca)