Skip to content

Commit

Permalink
ssl_cert_serial(): Do not use easyrsa_openssl wrapper function
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Jul 18, 2024
1 parent 97c00ae commit 6fa7e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easyrsa3/easyrsa
Original file line number Diff line number Diff line change
Expand Up @@ -4165,7 +4165,7 @@ ssl_cert_serial() {
[ -f "$1" ] || die "ssl_cert_serial - missing cert"

fn_ssl_out="$(
easyrsa_openssl x509 -in "$1" -noout -serial
"$EASYRSA_OPENSSL" x509 -in "$1" -noout -serial
)" || die "ssl_cert_serial - failed: -serial"
# remove the serial= part -> we only need the XXXX part
fn_ssl_out="${fn_ssl_out##*=}"
Expand Down

0 comments on commit 6fa7e65

Please sign in to comment.