mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-09-09 13:32:53 +02:00
Fixes for travis
Travis updated the container images so that the perl reference to 5.18 was outdated. We use now 5.26 which works, however we should consider to be more flexible. JSON::Validator didn't compile in the container. Thus we switched to just use 'JSON'. That also supports JSON pretty. For the future we should just test for valid JSON in all unit test files as it is more effective.
This commit is contained in:
@ -17880,7 +17880,7 @@ determine_service() {
|
||||
local ua
|
||||
local protocol
|
||||
|
||||
# check if we can connect to $NODEIP:$PORT
|
||||
# Check if we can connect to $NODEIP:$PORT. Attention: This ALWAYS uses sockets. Thus timeouts for --ssl-=native do not apply
|
||||
if ! fd_socket 5; then
|
||||
if [[ -n "$PROXY" ]]; then
|
||||
fatal "You're sure $PROXYNODE:$PROXYPORT allows tunneling here? Can't connect to \"$NODEIP:$PORT\"" $ERR_CONNECT
|
||||
|
Reference in New Issue
Block a user