From d4dbf1138cb6af6b934e6f5c320d69ae97505536 Mon Sep 17 00:00:00 2001 From: Dirk Date: Tue, 13 Oct 2015 08:31:54 +0200 Subject: [PATCH] - FIX #214 --- testssl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testssl.sh b/testssl.sh index 20ca524..8420c62 100755 --- a/testssl.sh +++ b/testssl.sh @@ -4563,7 +4563,7 @@ determine_service() { runs_HTTP $OPTIMAL_PROTO else # STARTTLS - protocol=${protocol%s} # strip trailing 's' in ftp(s), smtp(s), pop3(s), etc + protocol=${1%s} # strip trailing 's' in ftp(s), smtp(s), pop3(s), etc case "$protocol" in ftp|smtp|pop3|imap|xmpp|telnet|ldap) STARTTLS="-starttls $protocol" @@ -5199,4 +5199,4 @@ fi exit $? -# $Id: testssl.sh,v 1.406 2015/10/11 21:34:52 dirkw Exp $ +# $Id: testssl.sh,v 1.407 2015/10/13 06:31:53 dirkw Exp $