diff options
Diffstat (limited to 'src/lib/libssl/man/SSL_set_SSL_CTX.3')
| -rw-r--r-- | src/lib/libssl/man/SSL_set_SSL_CTX.3 | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/src/lib/libssl/man/SSL_set_SSL_CTX.3 b/src/lib/libssl/man/SSL_set_SSL_CTX.3 deleted file mode 100644 index 2abaefb292..0000000000 --- a/src/lib/libssl/man/SSL_set_SSL_CTX.3 +++ /dev/null | |||
| @@ -1,67 +0,0 @@ | |||
| 1 | .\" $OpenBSD: SSL_set_SSL_CTX.3,v 1.4 2022/07/13 22:05:53 schwarze Exp $ | ||
| 2 | .\" | ||
| 3 | .\" Copyright (c) 2020 Ingo Schwarze <schwarze@openbsd.org> | ||
| 4 | .\" | ||
| 5 | .\" Permission to use, copy, modify, and distribute this software for any | ||
| 6 | .\" purpose with or without fee is hereby granted, provided that the above | ||
| 7 | .\" copyright notice and this permission notice appear in all copies. | ||
| 8 | .\" | ||
| 9 | .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
| 10 | .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
| 11 | .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
| 12 | .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
| 13 | .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
| 14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
| 15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
| 16 | .\" | ||
| 17 | .Dd $Mdocdate: July 13 2022 $ | ||
| 18 | .Dt SSL_SET_SSL_CTX 3 | ||
| 19 | .Os | ||
| 20 | .Sh NAME | ||
| 21 | .Nm SSL_set_SSL_CTX | ||
| 22 | .Nd modify an SSL connection object to use another context | ||
| 23 | .Sh SYNOPSIS | ||
| 24 | .In openssl/ssl.h | ||
| 25 | .Ft SSL_CTX * | ||
| 26 | .Fo SSL_set_SSL_CTX | ||
| 27 | .Fa "SSL *ssl" | ||
| 28 | .Fa "SSL_CTX* ctx" | ||
| 29 | .Fc | ||
| 30 | .Sh DESCRIPTION | ||
| 31 | .Fn SSL_set_SSL_CTX | ||
| 32 | causes | ||
| 33 | .Fa ssl | ||
| 34 | to use the context | ||
| 35 | .Fa ctx . | ||
| 36 | .Pp | ||
| 37 | If | ||
| 38 | .Fa ctx | ||
| 39 | is | ||
| 40 | .Dv NULL , | ||
| 41 | .Fa ssl | ||
| 42 | reverts to using the context that it was initially created from with | ||
| 43 | .Xr SSL_new 3 . | ||
| 44 | .Pp | ||
| 45 | If | ||
| 46 | .Fa ssl | ||
| 47 | already uses | ||
| 48 | .Fa ctx , | ||
| 49 | no action occurs. | ||
| 50 | .Sh RETURN VALUES | ||
| 51 | .Fn SSL_set_SSL_CTX | ||
| 52 | returns an internal pointer to the context that | ||
| 53 | .Fa ssl | ||
| 54 | is using as a result of the call, or | ||
| 55 | .Dv NULL | ||
| 56 | if memory allocation fails. | ||
| 57 | .Sh SEE ALSO | ||
| 58 | .Xr ssl 3 , | ||
| 59 | .Xr SSL_clear 3 , | ||
| 60 | .Xr SSL_CTX_new 3 , | ||
| 61 | .Xr SSL_get_SSL_CTX 3 , | ||
| 62 | .Xr SSL_new 3 , | ||
| 63 | .Xr SSL_set_security_level 3 | ||
| 64 | .Sh HISTORY | ||
| 65 | .Fn SSL_set_SSL_CTX | ||
| 66 | first appeared in OpenSSL 0.9.8f and has been available since | ||
| 67 | .Ox 4.5 . | ||
