diff options
| author | 2021-07-01 12:33:51 +0100 | |
|---|---|---|
| committer | 2021-07-01 12:33:51 +0100 | |
| commit | d95d7fc4f574b4ce3593b6684dd9fd738c40fcab (patch) | |
| tree | 88bc789896945fac5b82bc19dd4b8e440e590da6 /tools | |
| parent | Require that hideserver is set to a valid hostname. (diff) | |
| parent | Allow reloading SSL profiles on rehash. (diff) | |
Merge branch 'insp3' into master.
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/testssl | 2 |
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; } |
