- fix for renamed http_header function

This commit is contained in:
Dirk 2015-09-29 19:06:46 +02:00
parent 83c32b5557
commit 805775ea1c
2 changed files with 5 additions and 5 deletions

View File

@ -578,7 +578,7 @@ detect_ipv4() {
local spaces=" " local spaces=" "
if [[ ! -s $HEADERFILE ]]; then if [[ ! -s $HEADERFILE ]]; then
http_header "$1" || return 3 run_http_header "$1" || return 3
fi fi
# remove pagespeed header as it is mistakenly identified as ipv4 address https://github.com/drwetter/testssl.sh/issues/158 # remove pagespeed header as it is mistakenly identified as ipv4 address https://github.com/drwetter/testssl.sh/issues/158
@ -653,7 +653,7 @@ run_hsts() {
local hsts_age_days local hsts_age_days
if [[ ! -s $HEADERFILE ]]; then if [[ ! -s $HEADERFILE ]]; then
http_header "$1" || return 3 run_http_header "$1" || return 3
fi fi
#pr_bold " HSTS " #pr_bold " HSTS "
pr_bold " Strict Transport Security " pr_bold " Strict Transport Security "
@ -693,7 +693,7 @@ run_hpkp() {
local i local i
if [[ ! -s $HEADERFILE ]]; then if [[ ! -s $HEADERFILE ]]; then
http_header "$1" || return 3 run_http_header "$1" || return 3
fi fi
#pr_bold " HPKP " #pr_bold " HPKP "
pr_bold " Public Key Pinning " pr_bold " Public Key Pinning "
@ -4889,4 +4889,4 @@ fi
exit $? exit $?
# $Id: testssl.sh,v 1.379B 2015/09/25 12:35:41 dirkw Exp $ # $Id: testssl.sh,v 1.379c 2015/09/29 16:47:47 dirkw Exp $

View File

@ -13,7 +13,7 @@ sleep 3
STDOPTIONS="--prefix=/usr/ --openssldir=/etc/ssl -DOPENSSL_USE_BUILD_DATE enable-zlib \ STDOPTIONS="--prefix=/usr/ --openssldir=/etc/ssl -DOPENSSL_USE_BUILD_DATE enable-zlib \
enable-ssl2 enable-ssl3 enable-ssl-trace enable-rc5 enable-rc2 \ enable-ssl2 enable-ssl3 enable-ssl-trace enable-rc5 enable-rc2 \
enable-gost enable-cms enable-md2 enable-mdc2 enable-ec enable-ec2m enable-ecdh enable-ecdsa \ enable-gost enable-cms enable-md2 enable-mdc2 enable-ec enable-ec2m enable-ecdh enable-ecdsa \
enable-seed enable-camellia enable-idea enable-rfc3779 experimental-jpake -DTEMP_GOST_TLS" enable-seed enable-camellia enable-idea enable-rfc3779 experimental-jpake"
clean() { clean() {
case $NOCLEAN in case $NOCLEAN in