print_version(): Redirect stderr for "openssl" call
Squashed commit of the following:
commit 6ed16cd3860a1cf155c48809d11b55101ff66224
Merge: 4472516 94f6402
Author: Richard T Bonhomme <tincantech@protonmail.com>
Date: Tue Nov 1 22:51:33 2022 +0000
Merge branch 'redir-stderr-version' of ssh://github.com/TinCanTech/easy-rsa into TinCanTech-redir-stderr-version
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
commit 94f6402c64b9d11da34c93d06b62a00b2ad2fe40
Author: Richard T Bonhomme <tincantech@protonmail.com>
Date: Tue Nov 1 20:51:26 2022 +0000
print_version(): Redirect stderr for "openssl" call
This redirects stderr message generated by missing config file,
specifically for LibreSSL.
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
parent
4472516e24
commit
dbb851736a
@ -4857,7 +4857,7 @@ return 0
|
|||||||
|
|
||||||
print_version()
|
print_version()
|
||||||
{
|
{
|
||||||
ssl_version="$("${EASYRSA_OPENSSL:-openssl}" version)"
|
ssl_version="$("${EASYRSA_OPENSSL:-openssl}" version 2>/dev/null)"
|
||||||
cat << VERSION_TEXT
|
cat << VERSION_TEXT
|
||||||
EasyRSA Version Information
|
EasyRSA Version Information
|
||||||
Version: $EASYRSA_version
|
Version: $EASYRSA_version
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user