From 0198f07eda4b630dae64acd3c8e0a407840f7aea Mon Sep 17 00:00:00 2001 From: Xavier Bachelot Date: Fri, 22 Mar 2019 15:58:23 +0100 Subject: [PATCH] verify_ca_init has no business checking the revoked and renewed dirs Signed-off-by: Xavier Bachelot --- easyrsa3/easyrsa | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index e019982..ef31125 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -442,9 +442,7 @@ $help_note" [ "$1" = "test" ] && return 0 # verify expected CA-specific dirs: - for i in issued certs_by_serial \ - revoked/certs_by_serial revoked/private_by_serial revoked/reqs_by_serial \ - renewed/certs_by_serial renewed/private_by_serial renewed/reqs_by_serial ; + for i in issued certs_by_serial do [ -d "$EASYRSA_PKI/$i" ] || die "\ Missing expected CA dir: $i (perhaps you need to run build-ca?)