From 6fa7e65b91c4de7a1bcaca2e06e9418a1a9e0691 Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Thu, 18 Jul 2024 02:09:01 +0100 Subject: [PATCH] ssl_cert_serial(): Do not use easyrsa_openssl wrapper function Signed-off-by: Richard T Bonhomme --- easyrsa3/easyrsa | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index ffc8bc87..14eade80 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -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##*=}"