From 0a93ddfc07d8331b448a58431469eb019ceed032 Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Thu, 4 Apr 2024 23:50:58 +0100 Subject: [PATCH] shellcheck: Assign empty $cert_serial for revoke/revoke-renewed Signed-off-by: Richard T Bonhomme --- easyrsa3/easyrsa | 2 ++ 1 file changed, 2 insertions(+) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index 9611cb202..b2fdd6c12 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -2695,6 +2695,7 @@ Request was expected at: fi # get the serial number of the certificate + cert_serial= ssl_cert_serial "$crt_in" cert_serial || \ die "$cmd: Failed to get cert serial number!" @@ -3210,6 +3211,7 @@ Request was expected at: fi # get the serial number of the certificate + cert_serial= ssl_cert_serial "$crt_in" cert_serial || \ die "$cmd: Failed to get cert serial number!"