summaryrefslogtreecommitdiffstats
path: root/apps/ciphers.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2000-04-06 22:33:14 +0000
committerBodo Möller <bodo@openssl.org>2000-04-06 22:33:14 +0000
commit1d90f280297195f4f1fb42fdeecd0e6f5ee98366 (patch)
treeff7eeb2010b6e88ee2da6626b21127b840f9d6fe /apps/ciphers.c
parent8acdd759b973fa956b33146b5538bfde11ba870c (diff)
In theory, TLS v1 ciphersuites are not the same as SSL v3 ciphersuites
Diffstat (limited to 'apps/ciphers.c')
-rw-r--r--apps/ciphers.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/ciphers.c b/apps/ciphers.c
index f8e9e7be2e..72b2009e18 100644
--- a/apps/ciphers.c
+++ b/apps/ciphers.c
@@ -74,6 +74,7 @@ static char *ciphers_usage[]={
" -v - verbose mode, a textual listing of the ciphers in SSLeay\n",
" -ssl2 - SSL2 mode\n",
" -ssl3 - SSL3 mode\n",
+" -tls1 - TLS1 mode\n",
NULL
};
@@ -122,6 +123,10 @@ int MAIN(int argc, char **argv)
else if (strcmp(*argv,"-ssl3") == 0)
meth=SSLv3_client_method();
#endif
+#ifndef NO_TLS1
+ else if (strcmp(*argv,"-tls1") == 0)
+ meth=TLSv1_client_method();
+#endif
else if ((strncmp(*argv,"-h",2) == 0) ||
(strcmp(*argv,"-?") == 0))
{