summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-10-21 14:40:15 +0100
committerMatt Caswell <matt@openssl.org>2015-10-21 16:22:19 +0100
commit21cd6e006cc1ea9a1ba13c45c6858118e34604f6 (patch)
treec6583c2247af7043f334de14abe680cc5d4039e7 /doc
parent3fde6c9276c9cd6e56e8e06e756350a4fbdd7031 (diff)
Don't use SSLv23_server_method in an example
The function SSLv23_server_method() is an old name. New code should use TLS_server_method() instead. Therefore don't use SSLv23_server_method() in an example in the docs. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/ssl/SSL_CTX_new.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/ssl/SSL_CTX_new.pod b/doc/ssl/SSL_CTX_new.pod
index 3cbf7a7aab..15011f8fc1 100644
--- a/doc/ssl/SSL_CTX_new.pod
+++ b/doc/ssl/SSL_CTX_new.pod
@@ -73,7 +73,7 @@ those functions instead.
The list of protocols available can later be limited using the
SSL_OP_NO_SSLv3, SSL_OP_NO_TLSv1, SSL_OP_NO_TLSv1_1 and SSL_OP_NO_TLSv1_2
options of the SSL_CTX_set_options() or SSL_set_options() functions.
-Using these options it is possible to choose e.g. SSLv23_server_method() and
+Using these options it is possible to choose e.g. TLS_server_method() and
be able to negotiate with all possible clients, but to only allow newer
protocols like TLSv1, TLSv1.1 or TLS v1.2.