summaryrefslogtreecommitdiff
path: root/security/testssl.sh/files/patch-testssl.sh
blob: f22cbcc0ea7fffb647119feda375ad058ebba317 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- testssl.sh.orig	2018-03-17 15:02:25 UTC
+++ testssl.sh
@@ -175,6 +175,9 @@ TERM_CURRPOS=0                          
 ## CONFIGURATION PART ##
 # following variables make use of $ENV, e.g. OPENSSL=<myprivate_path_to_openssl> ./testssl.sh <host>
 # 0 means (normally) true here. Some of the variables are also accessible with a command line switch, see --help
+if [[ -z "$OPENSSL" ]] ; then
+     OPENSSL=PREFIX/openssl-unsafe/bin/openssl
+fi
 declare -x OPENSSL OPENSSL_TIMEOUT
 FAST_SOCKET=${FAST_SOCKET:-false}       # EXPERIMENTAL feature to accelerate sockets -- DO NOT USE it for production
 COLOR=${COLOR:-2}                       # 2: Full color, 1: b/w+positioning, 0: no ESC at all