1
0
mirror of https://github.com/drwetter/testssl.sh.git synced 2025-05-22 08:06:04 +02:00

Merge pull request from ghen2/3.0-uname

`hostname` is not defined by POSIX, use portable `uname -n` instead.
This commit is contained in:
Dirk Wetter 2021-05-13 16:11:11 +02:00 committed by GitHub
commit 931d0095d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -138,7 +138,7 @@ ADDITIONAL_CA_FILES="${ADDITIONAL_CA_FILES:-""}" # single file with a CA in PEM
CIPHERS_BY_STRENGTH_FILE=""
TLS_DATA_FILE="" # mandatory file for socket-based handshakes
OPENSSL_LOCATION=""
HNAME="$(hostname)"
HNAME="$(uname -n)"
HNAME="${HNAME%%.*}"
declare CMDLINE