From 5890b692cd67147eee59df43952d6bc1ac31ebb4 Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Wed, 24 Aug 2022 16:19:31 +0100 Subject: [PATCH] detect_host: Use SSL Library version from EasyRSA version Signed-off-by: Richard T Bonhomme --- easyrsa3/easyrsa | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index fa661c1..1e1466e 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -3702,9 +3702,9 @@ detect_host() { easyrsa_ver_test="${EASYRSA_version%%~*}" if [ "$easyrsa_ver_test" ]; then - host_out="Version: $EASYRSA_version" + host_out="Host: $EASYRSA_version" else - host_out="Version: dev" + host_out="Host: dev" fi host_out="${host_out} | $easyrsa_host_os | $easyrsa_uname | $easyrsa_shell" @@ -3716,7 +3716,7 @@ detect_host() { show_host() { print print_version - print "$host_out | ${ssl_lib:-ssl_lib not set}" + print "$host_out | ${ssl_version:-ssl_version not currently set}" [ ! "$EASYRSA_DEBUG" ] && return case "$easyrsa_host_os" in win) set ;;