X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=lib%2Fopenssl%2Fdoc%2Fssl%2FSSL_CTX_set_min_proto_version.pod;fp=lib%2Fopenssl%2Fdoc%2Fssl%2FSSL_CTX_set_min_proto_version.pod;h=3e9fe80b7073900c948e0cd9da020f2bae5bd3c1;hb=02ed66432c92de70694700164f986190aad3cbc5;hp=0000000000000000000000000000000000000000;hpb=89016837dcbf2775cd15dc8cbaba00dc6379f86e;p=cassiopeia.git diff --git a/lib/openssl/doc/ssl/SSL_CTX_set_min_proto_version.pod b/lib/openssl/doc/ssl/SSL_CTX_set_min_proto_version.pod new file mode 100644 index 0000000..3e9fe80 --- /dev/null +++ b/lib/openssl/doc/ssl/SSL_CTX_set_min_proto_version.pod @@ -0,0 +1,60 @@ +=pod + +=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 + +=head1 SYNOPSIS + + #include + + int SSL_CTX_set_min_proto_version(SSL_CTX *ctx, int version); + int SSL_CTX_set_max_proto_version(SSL_CTX *ctx, int version); + int SSL_set_min_proto_version(SSL *ssl, int version); + int SSL_set_max_proto_version(SSL *ssl, int version); + +=head1 DESCRIPTION + +The functions set the minimum and maximum supported protocol versions +for the B or B. +This works in combination with the options set via +L that also make it possible to disable +specific protocol versions. +Use these functions instead of disabling specific protocol versions. + +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, B, +B, B for TLS and B, +B for DTLS. + +=head1 RETURN VALUES + +These functions return 1 on success and 0 on failure. + +=head1 NOTES + +All these functions are implemented using macros. + +=head1 HISTORY + +The functions were added in OpenSSL 1.1.0 + +=head1 SEE ALSO + +L, L + +=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. + +=cut