summaryrefslogtreecommitdiffstats
path: root/httpstest
diff options
context:
space:
mode:
Diffstat (limited to 'httpstest')
-rwxr-xr-xhttpstest2
1 files changed, 1 insertions, 1 deletions
diff --git a/httpstest b/httpstest
index e4fb0da..93dc9e0 100755
--- a/httpstest
+++ b/httpstest
@@ -2,4 +2,4 @@
# usage: httpstest <domain>
-openssl s_client -servername $1 -connect $1:443 </dev/null
+openssl s_client -servername $1 -connect $1:${2:-443} </dev/null