Fix warning to not print binary IP address

* tests/Test-https-badcerts.px: Likewise
* tests/Test-https-clientcert.px: Likewise
* tests/Test-https-crl.px: Likewise
* tests/Test-https-pfs.px: Likewise
* tests/Test-https-selfsigned.px: Likewise
* tests/Test-https-tlsv1.px: Likewise
* tests/Test-https-tlsv1x.px: Likewise
* tests/Test-https-weboftrust.px: Likewise
This commit is contained in:
Tim Rühsen 2018-02-09 10:33:01 +01:00
parent 9887b870d1
commit 98ec26cc6d
8 changed files with 8 additions and 8 deletions

View File

@ -48,7 +48,7 @@ unless ($addr)
}
unless (inet_ntoa($addr) =~ "127.0.0.1")
{
warn "Failed to resolve $$addr, using $srcdir/certs/wgethosts\n";
warn "Unexpected IP for localhost: ".inet_ntoa($addr)."\n";
exit 77;
}

View File

@ -47,7 +47,7 @@ unless ($addr)
}
unless (inet_ntoa($addr) =~ "127.0.0.1")
{
warn "Failed to resolve $$addr, using $srcdir/certs/wgethosts\n";
warn "Unexpected IP for localhost: ".inet_ntoa($addr)."\n";
exit 77;
}

View File

@ -47,7 +47,7 @@ unless ($addr)
}
unless (inet_ntoa($addr) =~ "127.0.0.1")
{
warn "Failed to resolve $$addr, using $srcdir/certs/wgethosts\n";
warn "Unexpected IP for localhost: ".inet_ntoa($addr)."\n";
exit 77;
}

View File

@ -47,7 +47,7 @@ unless ($addr)
}
unless (inet_ntoa($addr) =~ "127.0.0.1")
{
warn "Failed to resolve $$addr, using $srcdir/certs/wgethosts\n";
warn "Unexpected IP for localhost: ".inet_ntoa($addr)."\n";
exit 77;
}

View File

@ -47,7 +47,7 @@ unless ($addr)
}
unless (inet_ntoa($addr) =~ "127.0.0.1")
{
warn "Failed to resolve $$addr, using $srcdir/certs/wgethosts\n";
warn "Unexpected IP for localhost: ".inet_ntoa($addr)."\n";
exit 77;
}

View File

@ -47,7 +47,7 @@ unless ($addr)
}
unless (inet_ntoa($addr) =~ "127.0.0.1")
{
warn "Failed to resolve $$addr, using $srcdir/certs/wgethosts\n";
warn "Unexpected IP for localhost: ".inet_ntoa($addr)."\n";
exit 77;
}

View File

@ -48,7 +48,7 @@ unless ($addr)
}
unless (inet_ntoa($addr) =~ "127.0.0.1")
{
warn "Failed to resolve $$addr, using $srcdir/certs/wgethosts\n";
warn "Unexpected IP for localhost: ".inet_ntoa($addr)."\n";
exit 77;
}

View File

@ -47,7 +47,7 @@ unless ($addr)
}
unless (inet_ntoa($addr) =~ "127.0.0.1")
{
warn "Failed to resolve $$addr, using $srcdir/certs/wgethosts\n";
warn "Unexpected IP for localhost: ".inet_ntoa($addr)."\n";
exit 77;
}