Fix grammar error in SSL_CTX_set_min_proto_version
[openssl.git] / doc / ssl / SSL_CTX_set_min_proto_version.pod
index 4cb4c43a2dc0d2850317c9bfb74ffa2f7311f4d6..3e9fe80b7073900c948e0cd9da020f2bae5bd3c1 100644 (file)
@@ -2,7 +2,9 @@
 
 =head1 NAME
 
-SSL_CTX_set_min_proto_version, SSL_CTX_set_max_proto_version, SSL_set_min_proto_version, SSL_set_max_proto_version - Set minimum and maximum supported protocol version
+SSL_CTX_set_min_proto_version, SSL_CTX_set_max_proto_version,
+SSL_set_min_proto_version, SSL_set_max_proto_version - Set minimum
+and maximum supported protocol version
 
 =head1 SYNOPSIS
 
@@ -15,17 +17,24 @@ SSL_CTX_set_min_proto_version, SSL_CTX_set_max_proto_version, SSL_set_min_proto_
 
 =head1 DESCRIPTION
 
-The functions set the minimum and maximum supported portocol versions for the B<ctx> or B<ssl>.
-This works in combination with the options set via SSL_CTX_set_options() that allows to disable specific protocol versions.
-You should use these functions instead of disabling a specific protocol version.
+The functions set the minimum and maximum supported protocol versions
+for the B<ctx> or B<ssl>.
+This works in combination with the options set via
+L<SSL_CTX_set_options(3)> that also make it possible to disable
+specific protocol versions.
+Use these functions instead of disabling specific protocol versions.
 
-When setting the minimum or maximum version to 0 it will use the lowest or highest supported version, respectively, by the library.
+Setting the minimum or maximum version to 0, will enable protocol
+versions down to the lowest version, or up to the highest version
+supported by the library, respectively.
 
-Currently supported versions are B<SSL3_VERSION>, B<TLS1_VERSION>, B<TLS1_1_VERSION>, B<TLS1_2_VERSION>, B<DTLS1_VERSION> and B<DTLS1_2_VERSION>.
+Currently supported versions are B<SSL3_VERSION>, B<TLS1_VERSION>,
+B<TLS1_1_VERSION>, B<TLS1_2_VERSION> for TLS and B<DTLS1_VERSION>,
+B<DTLS1_2_VERSION> for DTLS.
 
 =head1 RETURN VALUES
 
-The function returns 1 on success and 0 on failure.
+These functions return 1 on success and 0 on failure.
 
 =head1 NOTES
 
@@ -39,4 +48,13 @@ The functions were added in OpenSSL 1.1.0
 
 L<SSL_CTX_set_options(3)>, L<SSL_CONF_cmd(3)>
 
+=head1 COPYRIGHT
+
+Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
+
+Licensed under the OpenSSL license (the "License").  You may not use
+this file except in compliance with the License.  You can obtain a copy
+in the file LICENSE in the source distribution or at
+L<https://www.openssl.org/source/license.html>.
+
 =cut