diff options
| author | cvs2svn <admin@example.com> | 2015-08-02 21:54:23 +0000 |
|---|---|---|
| committer | cvs2svn <admin@example.com> | 2015-08-02 21:54:23 +0000 |
| commit | 67fcb4ef3942fb3a0f1e18f8ebbe7464120d485a (patch) | |
| tree | 5609c82060f75c53af0a7641d9b33a88574876cd /src/lib/libssl/doc/SSL_CTX_set_ssl_version.3 | |
| parent | ed40f444ba01bcae1d8540f9c26d79537ab5baf2 (diff) | |
| download | openbsd-libressl-v2.2.2.tar.gz openbsd-libressl-v2.2.2.tar.bz2 openbsd-libressl-v2.2.2.zip | |
This commit was manufactured by cvs2git to create branch 'OPENBSD_5_8'.libressl-v2.2.2
Diffstat (limited to 'src/lib/libssl/doc/SSL_CTX_set_ssl_version.3')
| -rw-r--r-- | src/lib/libssl/doc/SSL_CTX_set_ssl_version.3 | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/src/lib/libssl/doc/SSL_CTX_set_ssl_version.3 b/src/lib/libssl/doc/SSL_CTX_set_ssl_version.3 deleted file mode 100644 index f4bd74e73b..0000000000 --- a/src/lib/libssl/doc/SSL_CTX_set_ssl_version.3 +++ /dev/null | |||
| @@ -1,81 +0,0 @@ | |||
| 1 | .\" | ||
| 2 | .\" $OpenBSD: SSL_CTX_set_ssl_version.3,v 1.2 2014/12/02 14:11:01 jmc Exp $ | ||
| 3 | .\" | ||
| 4 | .Dd $Mdocdate: December 2 2014 $ | ||
| 5 | .Dt SSL_CTX_SET_SSL_VERSION 3 | ||
| 6 | .Os | ||
| 7 | .Sh NAME | ||
| 8 | .Nm SSL_CTX_set_ssl_version , | ||
| 9 | .Nm SSL_set_ssl_method , | ||
| 10 | .Nm SSL_get_ssl_method | ||
| 11 | .Nd choose a new TLS/SSL method | ||
| 12 | .Sh SYNOPSIS | ||
| 13 | .In openssl/ssl.h | ||
| 14 | .Ft int | ||
| 15 | .Fn SSL_CTX_set_ssl_version "SSL_CTX *ctx" "const SSL_METHOD *method" | ||
| 16 | .Ft int | ||
| 17 | .Fn SSL_set_ssl_method "SSL *s" "const SSL_METHOD *method" | ||
| 18 | .Ft const SSL_METHOD * | ||
| 19 | .Fn SSL_get_ssl_method "SSL *ssl" | ||
| 20 | .Sh DESCRIPTION | ||
| 21 | .Fn SSL_CTX_set_ssl_version | ||
| 22 | sets a new default TLS/SSL | ||
| 23 | .Fa method | ||
| 24 | for | ||
| 25 | .Vt SSL | ||
| 26 | objects newly created from this | ||
| 27 | .Fa ctx . | ||
| 28 | .Vt SSL | ||
| 29 | objects already created with | ||
| 30 | .Xr SSL_new 3 | ||
| 31 | are not affected, except when | ||
| 32 | .Xr SSL_clear 3 | ||
| 33 | is called. | ||
| 34 | .Pp | ||
| 35 | .Fn SSL_set_ssl_method | ||
| 36 | sets a new TLS/SSL | ||
| 37 | .Fa method | ||
| 38 | for a particular | ||
| 39 | .Vt SSL | ||
| 40 | object | ||
| 41 | .Fa s . | ||
| 42 | It may be reset when | ||
| 43 | .Xr SSL_clear 3 | ||
| 44 | is called. | ||
| 45 | .Pp | ||
| 46 | .Fn SSL_get_ssl_method | ||
| 47 | returns a function pointer to the TLS/SSL method set in | ||
| 48 | .Fa ssl . | ||
| 49 | .Sh NOTES | ||
| 50 | The available | ||
| 51 | .Fa method | ||
| 52 | choices are described in | ||
| 53 | .Xr SSL_CTX_new 3 . | ||
| 54 | .Pp | ||
| 55 | When | ||
| 56 | .Xr SSL_clear 3 | ||
| 57 | is called and no session is connected to an | ||
| 58 | .Vt SSL | ||
| 59 | object, the method of the | ||
| 60 | .Vt SSL | ||
| 61 | object is reset to the method currently set in the corresponding | ||
| 62 | .Vt SSL_CTX | ||
| 63 | object. | ||
| 64 | .Sh RETURN VALUES | ||
| 65 | The following return values can occur for | ||
| 66 | .Fn SSL_CTX_set_ssl_version | ||
| 67 | and | ||
| 68 | .Fn SSL_set_ssl_method : | ||
| 69 | .Bl -tag -width Ds | ||
| 70 | .It 0 | ||
| 71 | The new choice failed. | ||
| 72 | Check the error stack to find out the reason. | ||
| 73 | .It 1 | ||
| 74 | The operation succeeded. | ||
| 75 | .El | ||
| 76 | .Sh SEE ALSO | ||
| 77 | .Xr ssl 3 , | ||
| 78 | .Xr SSL_clear 3 , | ||
| 79 | .Xr SSL_CTX_new 3 , | ||
| 80 | .Xr SSL_new 3 , | ||
| 81 | .Xr SSL_set_connect_state 3 | ||
