summaryrefslogtreecommitdiff
path: root/security/testssl.sh/files/patch-testssl.sh
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2017-11-06 20:33:12 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2017-11-06 20:33:12 +0000
commitb83a47b65ab9b6accec3f9c1481fe913ef7af871 (patch)
tree74821cc0530d6fb05f215f2dcb3b0577bfa35586 /security/testssl.sh/files/patch-testssl.sh
parentgraphics/gts: Unbreak build WITH=NETPBM (diff)
security/testssl.sh: Use security/openssl-unsafe
This greatly simplifies the port and we can stop building our own unsafe openssl version. PR: 223457 Submitted by: brnrd
Notes
Notes: svn path=/head/; revision=453645
Diffstat (limited to 'security/testssl.sh/files/patch-testssl.sh')
-rw-r--r--security/testssl.sh/files/patch-testssl.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/security/testssl.sh/files/patch-testssl.sh b/security/testssl.sh/files/patch-testssl.sh
new file mode 100644
index 000000000000..c976fefcd377
--- /dev/null
+++ b/security/testssl.sh/files/patch-testssl.sh
@@ -0,0 +1,12 @@
+--- testssl.sh.orig 2017-11-05 21:50:58 UTC
++++ testssl.sh
+@@ -164,6 +164,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