openssl/openssl — pull request #196 by pedr000000 (2014-11-19 17:13:24+00:00)
Title: Help text small improvement

Hello everyone,

I have struggled trying to understand why, in a Debian distro, I was
not able to run the openssl command line tool forcing ssl3, the tool
has kept showing me
the help text :

xxx@xxx:~/sslsniff$ ./openssl/apps/openssl s_server -cipher AES256-SHA
-accept 4433 -www -CAfile client.crt -verify 1 -key server.pem -cert
server.crt -ssl3
WARNING: can't open config file: /usr/local/ssl/openssl.cnf
verify depth is 1
*unknown option -ssl3*
usage: s_server [args ...]
-accept port - TCP/IP port to accept on (default is 4433)
[...]
-ssl2 - Just talk SSLv2
-ssl3 - Just talk SSLv3
-tls1_2 - Just talk TLSv1.2
-tls1_1 - Just talk TLSv1.1
-tls1 - Just talk TLSv1
-dtls1 - Just talk DTLSv1
[...]

It shows the ssl3 option but in fact the software was not compiled with
such support (./config -no-ssl3). With this change the -ssl2 -ssl3
-no_ssl2 -no_ssl3 should
be printed out only when such support was enabled at compile time. I
have done my best reading the wiki about how to submit patches but I am
not sure everything complies with the procedure, sorry in advance.