From e4212f4fb35784d52d5fcae84b979ccffea6c201 Mon Sep 17 00:00:00 2001 From: Steven Danneman Date: Thu, 29 Jun 2017 14:39:22 -0700 Subject: [PATCH] Remove use of "postgress" with extra 's' for secure Though it matches the pattern of the other protocol names in testssl, it is not commonly used in practice. --- testssl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testssl.sh b/testssl.sh index 6455844..af7f5f6 100755 --- a/testssl.sh +++ b/testssl.sh @@ -7090,7 +7090,7 @@ EOF starttls_line "" "proceed" # BTW: https://xmpp.net ! ;; - postgres|postgress) # Postgres SQL, see http://www.postgresql.org/docs/devel/static/protocol-message-formats.html + postgres) # Postgres SQL, see http://www.postgresql.org/docs/devel/static/protocol-message-formats.html starttls_postgres_dialog ;; *) # we need to throw an error here -- otherwise testssl.sh treats the STARTTLS protocol as plain SSL/TLS which leads to FP @@ -12840,7 +12840,7 @@ parse_cmd_line() { [[ $? -eq 0 ]] && shift case $STARTTLS_PROTOCOL in ftp|smtp|pop3|imap|xmpp|telnet|ldap|nntp|postgres) ;; - ftps|smtps|pop3s|imaps|xmpps|telnets|ldaps|nntps|postgress) ;; + ftps|smtps|pop3s|imaps|xmpps|telnets|ldaps|nntps) ;; *) tmln_magenta "\nunrecognized STARTTLS protocol \"$1\", see help" 1>&2 help 1 ;; esac