Skip to content

Commit 0a93ddf

Browse files
committed
shellcheck: Assign empty $cert_serial for revoke/revoke-renewed
Signed-off-by: Richard T Bonhomme <[email protected]>
1 parent a1890fa commit 0a93ddf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

easyrsa3/easyrsa

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2695,6 +2695,7 @@ Request was expected at:
26952695
fi
26962696

26972697
# get the serial number of the certificate
2698+
cert_serial=
26982699
ssl_cert_serial "$crt_in" cert_serial || \
26992700
die "$cmd: Failed to get cert serial number!"
27002701

@@ -3210,6 +3211,7 @@ Request was expected at:
32103211
fi
32113212

32123213
# get the serial number of the certificate
3214+
cert_serial=
32133215
ssl_cert_serial "$crt_in" cert_serial || \
32143216
die "$cmd: Failed to get cert serial number!"
32153217

0 commit comments

Comments
 (0)