aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-07-01 12:33:51 +0100
committerGravatar Sadie Powell2021-07-01 12:33:51 +0100
commitd95d7fc4f574b4ce3593b6684dd9fd738c40fcab (patch)
tree88bc789896945fac5b82bc19dd4b8e440e590da6 /tools
parentRequire that hideserver is set to a valid hostname. (diff)
parentAllow reloading SSL profiles on rehash. (diff)
Merge branch 'insp3' into master.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/testssl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testssl b/tools/testssl
index 643dd4463..2b81369b9 100755
--- a/tools/testssl
+++ b/tools/testssl
@@ -42,7 +42,7 @@ if (scalar @ARGV < 2) {
STDOUT->autoflush(1);
my $hostip = shift @ARGV;
-if ($hostip =~ /[^A-Za-z0-9.:]/) {
+if ($hostip =~ /[^A-Za-z0-9.:-]/) {
say STDERR "Error: invalid hostname or IP address: $hostip";
exit 1;
}