summaryrefslogtreecommitdiff
path: root/openssl-connect
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2016-09-17 18:34:52 +0200
committerPeter Wu <peter@lekensteyn.nl>2016-09-17 18:34:52 +0200
commit50c8054d10ba7a56b1b11cea6f98d6496ac4ac71 (patch)
tree50e9e6ec7fe417deab642e60880cf7e4dc0248d0 /openssl-connect
parent5a17d2a0a3aa6d7a672bd7cb4bf1362f2ede81e9 (diff)
downloadwireshark-notes-50c8054d10ba7a56b1b11cea6f98d6496ac4ac71.tar.gz
openssl-{connect,listen}: OpenSSL 1.1.0 compat
The options parser has changed, options now have to precede the parameters (possible a bug, already reported to rt.openssl.org with subject "Options after parameters are ignored in OpenSSL 1.1.0"). While at it, use COMPLEMENTOFALL instead of NULL since that possibly includes more ciphers.
Diffstat (limited to 'openssl-connect')
-rwxr-xr-xopenssl-connect2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl-connect b/openssl-connect
index 77ba857..f4def7f 100755
--- a/openssl-connect
+++ b/openssl-connect
@@ -79,7 +79,7 @@ s_client_client_random() {
# When stdin is a TTY, try all ciphers
if [ -t 0 ]; then
# Use only SSLv3 and TLSv1 ciphers, do not use SSLv2
- openssl ciphers -V -tls1 ALL:NULL
+ openssl ciphers -V -tls1 ALL:COMPLEMENTOFALL
else
# otherwise if not TTY, pass-through (useful for grep)
cat