diff options
author | schwarze <> | 2020-05-24 12:21:31 +0000 |
---|---|---|
committer | schwarze <> | 2020-05-24 12:21:31 +0000 |
commit | 8f3ed8b4747c31e8aafe844575024d46e2d682fa (patch) | |
tree | 60831236f6c3b7461e1ac998adbfbb957759af2b /src | |
parent | bf9e1e83d2e56755afd6e9007d5202d39fe11160 (diff) | |
download | openbsd-8f3ed8b4747c31e8aafe844575024d46e2d682fa.tar.gz openbsd-8f3ed8b4747c31e8aafe844575024d46e2d682fa.tar.bz2 openbsd-8f3ed8b4747c31e8aafe844575024d46e2d682fa.zip |
Briefly mention the obsolete function OPENSSL_init(3).
Suggested by bluhm@, OK beck@ tb@.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/man/OPENSSL_init_crypto.3 | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/src/lib/libcrypto/man/OPENSSL_init_crypto.3 b/src/lib/libcrypto/man/OPENSSL_init_crypto.3 index e6dac13fed..6f38c7bda2 100644 --- a/src/lib/libcrypto/man/OPENSSL_init_crypto.3 +++ b/src/lib/libcrypto/man/OPENSSL_init_crypto.3 | |||
@@ -1,5 +1,5 @@ | |||
1 | .\" $OpenBSD: OPENSSL_init_crypto.3,v 1.4 2019/06/14 13:41:31 schwarze Exp $ | 1 | .\" $OpenBSD: OPENSSL_init_crypto.3,v 1.5 2020/05/24 12:21:31 schwarze Exp $ |
2 | .\" Copyright (c) 2018 Ingo Schwarze <schwarze@openbsd.org> | 2 | .\" Copyright (c) 2018, 2020 Ingo Schwarze <schwarze@openbsd.org> |
3 | .\" | 3 | .\" |
4 | .\" Permission to use, copy, modify, and distribute this software for any | 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 | 5 | .\" purpose with or without fee is hereby granted, provided that the above |
@@ -13,11 +13,12 @@ | |||
13 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 13 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
14 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | .\" | 15 | .\" |
16 | .Dd $Mdocdate: June 14 2019 $ | 16 | .Dd $Mdocdate: May 24 2020 $ |
17 | .Dt OPENSSL_INIT_CRYPTO 3 | 17 | .Dt OPENSSL_INIT_CRYPTO 3 |
18 | .Os | 18 | .Os |
19 | .Sh NAME | 19 | .Sh NAME |
20 | .Nm OPENSSL_init_crypto | 20 | .Nm OPENSSL_init_crypto , |
21 | .Nm OPENSSL_init | ||
21 | .Nd initialise the crypto library | 22 | .Nd initialise the crypto library |
22 | .Sh SYNOPSIS | 23 | .Sh SYNOPSIS |
23 | .In openssl/crypto.h | 24 | .In openssl/crypto.h |
@@ -26,10 +27,16 @@ | |||
26 | .Fa "uint64_t options" | 27 | .Fa "uint64_t options" |
27 | .Fa "const void *dummy" | 28 | .Fa "const void *dummy" |
28 | .Fc | 29 | .Fc |
30 | .Ft void | ||
31 | .Fn OPENSSL_init void | ||
29 | .Sh DESCRIPTION | 32 | .Sh DESCRIPTION |
30 | This function is deprecated. | 33 | These functions are deprecated. |
31 | It is never useful for any application program to call it explicitly. | 34 | It is never useful for an application program |
32 | The library automatically calls it internally with an | 35 | to call either of them explicitly. |
36 | .Pp | ||
37 | The library automatically calls | ||
38 | .Fn OPENSSL_init_crypto | ||
39 | internally with an | ||
33 | .Fa options | 40 | .Fa options |
34 | argument of 0 whenever needed. | 41 | argument of 0 whenever needed. |
35 | It is safest to assume that any function may do so. | 42 | It is safest to assume that any function may do so. |
@@ -76,6 +83,9 @@ argument has no effect. | |||
76 | .Pp | 83 | .Pp |
77 | If this function is called more than once, none of the calls except | 84 | If this function is called more than once, none of the calls except |
78 | the first one have any effect. | 85 | the first one have any effect. |
86 | .Pp | ||
87 | .Fn OPENSSL_init | ||
88 | has no effect at all. | ||
79 | .Sh RETURN VALUES | 89 | .Sh RETURN VALUES |
80 | .Fn OPENSSL_init_crypto | 90 | .Fn OPENSSL_init_crypto |
81 | is intended to return 1 on success or 0 on error. | 91 | is intended to return 1 on success or 0 on error. |
@@ -85,6 +95,12 @@ is intended to return 1 on success or 0 on error. | |||
85 | .Xr OPENSSL_load_builtin_modules 3 , | 95 | .Xr OPENSSL_load_builtin_modules 3 , |
86 | .Xr openssl.cnf 5 | 96 | .Xr openssl.cnf 5 |
87 | .Sh HISTORY | 97 | .Sh HISTORY |
98 | .Fn OPENSSL_init | ||
99 | first appeared in OpenSSL 1.0.0e and has been available since | ||
100 | .Ox 5.3 . | ||
101 | It stopped having any effect in OpenSSL 1.1.1 and in | ||
102 | .Ox 5.6 . | ||
103 | .Pp | ||
88 | .Fn OPENSSL_init_crypto | 104 | .Fn OPENSSL_init_crypto |
89 | first appeared in OpenSSL 1.1.0 and has been available since | 105 | first appeared in OpenSSL 1.1.0 and has been available since |
90 | .Ox 6.3 . | 106 | .Ox 6.3 . |