summaryrefslogtreecommitdiff
path: root/openssl-listen
diff options
context:
space:
mode:
authorPeter Wu <lekensteyn@gmail.com>2013-12-10 23:58:08 +0100
committerPeter Wu <lekensteyn@gmail.com>2013-12-10 23:58:08 +0100
commit0cac6f1f911590850e90894e14b3ecd0226cfa12 (patch)
treedf90561170f8a6db2cb7541a2c9d55c745ba7db5 /openssl-listen
parent8fc4f6c45dc802437376e49dc9c11f2a033dd4c5 (diff)
downloadwireshark-notes-0cac6f1f911590850e90894e14b3ecd0226cfa12.tar.gz
More ciphers support
* generate-wireshark-cs: fix key sizes for export ciphers * notes, openssl-{connect,listen}: support more cipher suites, including NULL.
Diffstat (limited to 'openssl-listen')
-rwxr-xr-xopenssl-listen4
1 files changed, 4 insertions, 0 deletions
diff --git a/openssl-listen b/openssl-listen
index c6c1025..ddaf850 100755
--- a/openssl-listen
+++ b/openssl-listen
@@ -120,6 +120,10 @@ start_server() {
"$ca_key" "$ca_crt" || return 1
fi
+ # Enable insecure ciphers too, this script is for generating all possible
+ # test samples supported by openssl.
+ opts+=( -cipher ALL:NULL )
+
openssl s_server -accept $port \
"${opts[@]}" \
-cert "$pkdir$crtfile" -key "$pkdir$keyfile" -www "$@" &