testssl: fix chain of trust test
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
diff --git a/testssl.sh b/testssl.sh
|
||||
index c8ffdcf..018681f 100755
|
||||
index 04b2cf4..02d246b 100755
|
||||
--- a/testssl.sh
|
||||
+++ b/testssl.sh
|
||||
@@ -79,7 +79,7 @@
|
||||
@@ -90,7 +90,7 @@ egrep -q "dev|rc" <<< "$VERSION" && \
|
||||
SWURL="https://testssl.sh/ "
|
||||
|
||||
readonly PROG_NAME=$(basename "$0")
|
||||
@@ -10,3 +10,13 @@ index c8ffdcf..018681f 100755
|
||||
+readonly RUN_DIR=$(dirname "$(readlink -e $0)")
|
||||
INSTALL_DIR=""
|
||||
MAPPING_FILE_RFC=""
|
||||
OPENSSL_LOCATION=""
|
||||
@@ -5391,7 +5391,7 @@ old_fart() {
|
||||
# it provides "keycode/ RFC style name", see RFCs, cipher(1), www.carbonwind.net/TLS_Cipher_Suites_Project/tls_ssl_cipher_suites_simple_table_all.htm
|
||||
get_install_dir() {
|
||||
#INSTALL_DIR=$(cd "$(dirname "$0")" && pwd)/$(basename "$0")
|
||||
- INSTALL_DIR=$(dirname ${BASH_SOURCE[0]})
|
||||
+ INSTALL_DIR=$(dirname "$(readlink -e ${BASH_SOURCE[0]})")
|
||||
|
||||
[[ -r "$RUN_DIR/etc/mapping-rfc.txt" ]] && MAPPING_FILE_RFC="$RUN_DIR/etc/mapping-rfc.txt"
|
||||
[[ -r "$INSTALL_DIR/etc/mapping-rfc.txt" ]] && MAPPING_FILE_RFC="$INSTALL_DIR/etc/mapping-rfc.txt"
|
||||
|
||||
Reference in New Issue
Block a user