diff options
author | Randall S. Becker <rsbecker@nexbridge.com> | 2020-10-29 10:17:25 -0500 |
---|---|---|
committer | Tomas Mraz <tmraz@fedoraproject.org> | 2020-11-04 17:02:38 +0100 |
commit | 9750b4d39c610bac89fde009c3b22147eee0249c (patch) | |
tree | b0cf02969f2d7cca93cc2f09fdcea3fc248c1d05 /doc | |
parent | 23fb3661cf914eb6a0776abec629b0e3e5976b7f (diff) |
Moved OPENSSL_fork_prepare,_parent,_child from init.c to threads_pthread.c.
These methods should ultimately be deprecated. The move is to insulate
non-UNIX platforms from these undefined symbols.
CLA: Permission is granted by the author to the OpenSSL team to use
these modifications.
Fixes #13273
Signed-off-by: Randall S. Becker <rsbecker@nexbridge.com>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13276)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man3/OPENSSL_fork_prepare.pod | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/man3/OPENSSL_fork_prepare.pod b/doc/man3/OPENSSL_fork_prepare.pod index d028a55bce..b011c6a63d 100644 --- a/doc/man3/OPENSSL_fork_prepare.pod +++ b/doc/man3/OPENSSL_fork_prepare.pod @@ -11,12 +11,19 @@ OPENSSL_fork_child #include <openssl/crypto.h> +Deprecated since OpenSSL 3.0.0, can be hidden entirely by defining +B<OPENSSL_API_COMPAT> with a suitable version value, see +L<openssl_user_macros(7)>: + void OPENSSL_fork_prepare(void); void OPENSSL_fork_parent(void); void OPENSSL_fork_child(void); =head1 DESCRIPTION +These methods are currently unused, and as such, no replacement methods are +required or planned. + OpenSSL has state that should be reset when a process forks. For example, the entropy pool used to generate random numbers (and therefore encryption keys) should not be shared across multiple programs. @@ -53,7 +60,7 @@ These functions were added in OpenSSL 1.1.1. =head1 COPYRIGHT -Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved. +Copyright 2017-2020 The OpenSSL Project Authors. All Rights Reserved. Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy |