summaryrefslogtreecommitdiff
path: root/security/testssl.sh/files/patch-testssl.sh
blob: 800c59ddbeb4886f6cfc569d0bd51c894334eee5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- testssl.sh.orig	2018-09-08 11:00:02 UTC
+++ testssl.sh
@@ -188,6 +188,9 @@ TERM_CURRPOS=0                                        
 ########### Defining (and presetting) variables which can be changed
 #
 # Following variables make use of $ENV and can be used like "OPENSSL=<myprivate_path_to_openssl> ./testssl.sh <URI>"
+if [[ -z "$OPENSSL" ]] ; then
+     OPENSSL=PREFIX/openssl-unsafe/bin/openssl
+fi
 declare -x OPENSSL OPENSSL_TIMEOUT
 PHONE_OUT=${PHONE_OUT:-false}           # Whether testssl can retrieve CRLs and OCSP
 FAST_SOCKET=${FAST_SOCKET:-false}       # EXPERIMENTAL feature to accelerate sockets -- DO NOT USE it for production