| OLD | NEW |
| 1 =pod | 1 =pod |
| 2 | 2 |
| 3 =head1 NAME | 3 =head1 NAME |
| 4 | 4 |
| 5 SSL_CTX_set_ssl_version, SSL_set_ssl_method, SSL_get_ssl_method | 5 SSL_CTX_set_ssl_version, SSL_set_ssl_method, SSL_get_ssl_method |
| 6 - choose a new TLS/SSL method | 6 - choose a new TLS/SSL method |
| 7 | 7 |
| 8 =head1 SYNOPSIS | 8 =head1 SYNOPSIS |
| 9 | 9 |
| 10 #include <openssl/ssl.h> | 10 #include <openssl/ssl.h> |
| 11 | 11 |
| 12 int SSL_CTX_set_ssl_version(SSL_CTX *ctx, SSL_METHOD *method); | 12 int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *method); |
| 13 int SSL_set_ssl_method(SSL *s, SSL_METHOD *method); | 13 int SSL_set_ssl_method(SSL *s, const SSL_METHOD *method); |
| 14 SSL_METHOD *SSL_get_ssl_method(SSL *ssl); | 14 const SSL_METHOD *SSL_get_ssl_method(SSL *ssl); |
| 15 | 15 |
| 16 =head1 DESCRIPTION | 16 =head1 DESCRIPTION |
| 17 | 17 |
| 18 SSL_CTX_set_ssl_version() sets a new default TLS/SSL B<method> for SSL objects | 18 SSL_CTX_set_ssl_version() sets a new default TLS/SSL B<method> for SSL objects |
| 19 newly created from this B<ctx>. SSL objects already created with | 19 newly created from this B<ctx>. SSL objects already created with |
| 20 L<SSL_new(3)|SSL_new(3)> are not affected, except when | 20 L<SSL_new(3)|SSL_new(3)> are not affected, except when |
| 21 L<SSL_clear(3)|SSL_clear(3)> is being called. | 21 L<SSL_clear(3)|SSL_clear(3)> is being called. |
| 22 | 22 |
| 23 SSL_set_ssl_method() sets a new TLS/SSL B<method> for a particular B<ssl> | 23 SSL_set_ssl_method() sets a new TLS/SSL B<method> for a particular B<ssl> |
| 24 object. It may be reset, when SSL_clear() is called. | 24 object. It may be reset, when SSL_clear() is called. |
| (...skipping 27 matching lines...) Expand all Loading... |
| 52 | 52 |
| 53 =back | 53 =back |
| 54 | 54 |
| 55 =head1 SEE ALSO | 55 =head1 SEE ALSO |
| 56 | 56 |
| 57 L<SSL_CTX_new(3)|SSL_CTX_new(3)>, L<SSL_new(3)|SSL_new(3)>, | 57 L<SSL_CTX_new(3)|SSL_CTX_new(3)>, L<SSL_new(3)|SSL_new(3)>, |
| 58 L<SSL_clear(3)|SSL_clear(3)>, L<ssl(3)|ssl(3)>, | 58 L<SSL_clear(3)|SSL_clear(3)>, L<ssl(3)|ssl(3)>, |
| 59 L<SSL_set_connect_state(3)|SSL_set_connect_state(3)> | 59 L<SSL_set_connect_state(3)|SSL_set_connect_state(3)> |
| 60 | 60 |
| 61 =cut | 61 =cut |
| OLD | NEW |