diff options
author | Pauli <paul.dale@oracle.com> | 2018-06-07 09:31:44 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2018-06-27 07:15:36 +1000 |
commit | c7504aeb640a88949dfe3146f7e0f275f517464c (patch) | |
tree | a94b2a6fdcc9c108d22178cebe54de391f204cb9 /util/libcrypto.num | |
parent | 41145c35bfee8f2b0822288fcb23a807d06d8e89 (diff) | |
download | openssl-new-c7504aeb640a88949dfe3146f7e0f275f517464c.tar.gz |
Modify the DEVRANDOM source so that the files are kept open persistently.
This allows operation inside a chroot environment without having the
random device present.
A new call, RAND_keep_random_devices_open(), has been introduced that can
be used to control file descriptor use by the random seed sources. Some
seed sources maintain open file descriptors by default, which allows
such sources to operate in a chroot(2) jail without the associated device
nodes being available.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/6432)
Diffstat (limited to 'util/libcrypto.num')
-rw-r--r-- | util/libcrypto.num | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/libcrypto.num b/util/libcrypto.num index 9ca14763bf..f193729f71 100644 --- a/util/libcrypto.num +++ b/util/libcrypto.num @@ -4568,3 +4568,4 @@ EVP_PKEY_get_raw_private_key 4519 1_1_1 EXIST::FUNCTION: EVP_PKEY_asn1_set_get_priv_key 4520 1_1_1 EXIST::FUNCTION: EVP_PKEY_asn1_set_get_pub_key 4521 1_1_1 EXIST::FUNCTION: EVP_PKEY_set_alias_type 4522 1_1_1 EXIST::FUNCTION: +RAND_keep_random_devices_open 4523 1_1_1 EXIST::FUNCTION: |