summaryrefslogtreecommitdiff
path: root/openssl-connect
diff options
context:
space:
mode:
Diffstat (limited to 'openssl-connect')
-rwxr-xr-xopenssl-connect3
1 files changed, 2 insertions, 1 deletions
diff --git a/openssl-connect b/openssl-connect
index 23ebc47..77ba857 100755
--- a/openssl-connect
+++ b/openssl-connect
@@ -78,7 +78,8 @@ s_client_client_random() {
# When stdin is a TTY, try all ciphers
if [ -t 0 ]; then
- openssl ciphers -V
+ # Use only SSLv3 and TLSv1 ciphers, do not use SSLv2
+ openssl ciphers -V -tls1 ALL:NULL
else
# otherwise if not TTY, pass-through (useful for grep)
cat