diff options
author | schwarze <> | 2018-03-17 18:52:42 +0000 |
---|---|---|
committer | schwarze <> | 2018-03-17 18:52:42 +0000 |
commit | 1df6e36c9d7eff0320ef36b1b8f08614c168f15f (patch) | |
tree | b78b9cffdc705671413f909986fcefbd779b7c4b /src/lib/libssl/man/OPENSSL_init_ssl.3 | |
parent | 6f8df959b6c5413c67db6629ba3ad7806ac55138 (diff) | |
download | openbsd-1df6e36c9d7eff0320ef36b1b8f08614c168f15f.tar.gz openbsd-1df6e36c9d7eff0320ef36b1b8f08614c168f15f.tar.bz2 openbsd-1df6e36c9d7eff0320ef36b1b8f08614c168f15f.zip |
In crypto.h rev. 1.43 and ssl.h rev. 1.153 2018/03/17 16:20:01, beck@
provided OPENSSL_init_crypto(3) and OPENSSL_init_ssl(3).
Write the documentation from scratch
because the text OpenSSL provides is full of bloat.
Diffstat (limited to 'src/lib/libssl/man/OPENSSL_init_ssl.3')
-rw-r--r-- | src/lib/libssl/man/OPENSSL_init_ssl.3 | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/src/lib/libssl/man/OPENSSL_init_ssl.3 b/src/lib/libssl/man/OPENSSL_init_ssl.3 new file mode 100644 index 0000000000..ae356c9bf5 --- /dev/null +++ b/src/lib/libssl/man/OPENSSL_init_ssl.3 | |||
@@ -0,0 +1,60 @@ | |||
1 | .\" $OpenBSD: OPENSSL_init_ssl.3,v 1.1 2018/03/17 18:52:42 schwarze Exp $ | ||
2 | .\" Copyright (c) 2018 Ingo Schwarze <schwarze@openbsd.org> | ||
3 | .\" | ||
4 | .\" Permission to use, copy, modify, and distribute this software for any | ||
5 | .\" purpose with or without fee is hereby granted, provided that the above | ||
6 | .\" copyright notice and this permission notice appear in all copies. | ||
7 | .\" | ||
8 | .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
9 | .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
10 | .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
11 | .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
12 | .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
13 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
14 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
15 | .\" | ||
16 | .Dd $Mdocdate: March 17 2018 $ | ||
17 | .Dt OPENSSL_INIT_SSL 3 | ||
18 | .Os | ||
19 | .Sh NAME | ||
20 | .Nm OPENSSL_init_ssl | ||
21 | .Nd initialise the crypto and ssl libraries | ||
22 | .Sh SYNOPSIS | ||
23 | .In openssl/ssl.h | ||
24 | .Ft int | ||
25 | .Fo OPENSSL_init_ssl | ||
26 | .Fa "uint64_t options" | ||
27 | .Fa "const void *dummy" | ||
28 | .Fc | ||
29 | .Sh DESCRIPTION | ||
30 | .Fn OPENSSL_init_ssl | ||
31 | calls | ||
32 | .Xr OPENSSL_init_crypto 3 | ||
33 | and also allocates various resources used internally by the ssl library. | ||
34 | .Pp | ||
35 | Calling it is never useful because it is automatically called | ||
36 | internally when needed. | ||
37 | .Pp | ||
38 | The | ||
39 | .Fa options | ||
40 | argument is passed on to | ||
41 | .Xr OPENSSL_init_crypto 3 | ||
42 | and the | ||
43 | .Fa dummy | ||
44 | argument is ignored. | ||
45 | .Pp | ||
46 | If this function is called more than once, | ||
47 | none of the calls except the first one have any effect. | ||
48 | .Sh RETURN VALUES | ||
49 | .Fn OPENSSL_init_ssl | ||
50 | is intended to return 1 on success or 0 on error. | ||
51 | .Sh SEE ALSO | ||
52 | .Xr CONF_modules_load_file 3 , | ||
53 | .Xr OPENSSL_init_crypto 3 | ||
54 | .Sh HISTORY | ||
55 | .Fn OPENSSL_init_ssl | ||
56 | first appeared in OpenSSL 1.1.0. | ||
57 | .Sh BUGS | ||
58 | .Fn OPENSSL_init_ssl | ||
59 | silently ignores even more configuration failures than | ||
60 | .Xr OPENSSL_init_crypto 3 . | ||