Skip to content

Commit

Permalink
shellcheck: Assign empty $cert_serial for revoke/revoke-renewed
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Apr 4, 2024
1 parent a1890fa commit 0a93ddf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions easyrsa3/easyrsa
Original file line number Diff line number Diff line change
Expand Up @@ -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!"

Expand Down Expand Up @@ -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!"

Expand Down

0 comments on commit 0a93ddf

Please sign in to comment.