From b83a47b65ab9b6accec3f9c1481fe913ef7af871 Mon Sep 17 00:00:00 2001 From: Tobias Kortkamp Date: Mon, 6 Nov 2017 20:33:12 +0000 Subject: 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 --- security/testssl.sh/files/patch-testssl.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 security/testssl.sh/files/patch-testssl.sh (limited to 'security/testssl.sh/files/patch-testssl.sh') 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= ./testssl.sh + # 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 -- cgit v1.2.3