SSL_CTX_set_ssl_version.pod (68651) | SSL_CTX_set_ssl_version.pod (76866) |
---|---|
1=pod 2 3=head1 NAME 4 5SSL_CTX_set_ssl_version, SSL_set_ssl_method, SSL_get_ssl_method 6- choose a new TLS/SSL method 7 8=head1 SYNOPSIS 9 10 #include <openssl/ssl.h> 11 12 int SSL_CTX_set_ssl_version(SSL_CTX *ctx, SSL_METHOD *method); 13 int SSL_set_ssl_method(SSL *s, SSL_METHOD *method); 14 SSL_METHOD *SSL_get_ssl_method(SSL *ssl); 15 16=head1 DESCRIPTION 17 18SSL_CTX_set_ssl_version() sets a new default TLS/SSL B<method> for SSL objects 19newly created from this B<ctx>. SSL objects already created with | 1=pod 2 3=head1 NAME 4 5SSL_CTX_set_ssl_version, SSL_set_ssl_method, SSL_get_ssl_method 6- choose a new TLS/SSL method 7 8=head1 SYNOPSIS 9 10 #include <openssl/ssl.h> 11 12 int SSL_CTX_set_ssl_version(SSL_CTX *ctx, SSL_METHOD *method); 13 int SSL_set_ssl_method(SSL *s, SSL_METHOD *method); 14 SSL_METHOD *SSL_get_ssl_method(SSL *ssl); 15 16=head1 DESCRIPTION 17 18SSL_CTX_set_ssl_version() sets a new default TLS/SSL B<method> for SSL objects 19newly created from this B<ctx>. SSL objects already created with |
20L<SSL_new(3)|SSL_new(3)> are not affected, except when SSL_clear() is 21being called. | 20L 21L<SSL_clear(3)|SSL_clear(3)> is being called. |
22 23SSL_set_ssl_method() sets a new TLS/SSL B<method> for a particular B<ssl> 24object. It may be reset, when SSL_clear() is called. 25 26SSL_get_ssl_method() returns a function pointer to the TLS/SSL method 27set in B<ssl>. 28 29=head1 NOTES 30 31The available B<method> choices are described in 32L<SSL_CTX_new(3)|SSL_CTX_new(3)>. 33 | 22 23SSL_set_ssl_method() sets a new TLS/SSL B<method> for a particular B<ssl> 24object. It may be reset, when SSL_clear() is called. 25 26SSL_get_ssl_method() returns a function pointer to the TLS/SSL method 27set in B<ssl>. 28 29=head1 NOTES 30 31The available B<method> choices are described in 32L<SSL_CTX_new(3)|SSL_CTX_new(3)>. 33 |
34When SSL_clear() is called and no session is connected to an SSL object, 35the method of the SSL object is reset to the method currently set in 36the corresponding SSL_CTX object. | 34When L<SSL_clear(3)|SSL_clear(3)> is called and no session is connected to 35an SSL object, the method of the SSL object is reset to the method currently 36set in the corresponding SSL_CTX object. |
37 38=head1 RETURN VALUES 39 40The following return values can occur for SSL_CTX_set_ssl_version() 41and SSL_set_ssl_method(): 42 43=over 4 44 --- 5 unchanged lines hidden (view full) --- 50 51The operation succeeded. 52 53=back 54 55=head1 SEE ALSO 56 57L<SSL_CTX_new(3)|SSL_CTX_new(3)>, L<SSL_new(3)|SSL_new(3)>, | 37 38=head1 RETURN VALUES 39 40The following return values can occur for SSL_CTX_set_ssl_version() 41and SSL_set_ssl_method(): 42 43=over 4 44 --- 5 unchanged lines hidden (view full) --- 50 51The operation succeeded. 52 53=back 54 55=head1 SEE ALSO 56 57L<SSL_CTX_new(3)|SSL_CTX_new(3)>, L<SSL_new(3)|SSL_new(3)>, |
58L | 58L<SSL_clear(3)|SSL_clear(3)>, L<ssl(3)|ssl(3)>, 59L<SSL_set_connect_state(3)|SSL_set_connect_state(3)> |
59 60=cut | 60 61=cut |