rand/randfile.c: permit non-regular files in RAND_load_file.
authorAndy Polyakov <appro@openssl.org>
Fri, 23 Mar 2018 14:12:20 +0000 (15:12 +0100)
committerAndy Polyakov <appro@openssl.org>
Tue, 27 Mar 2018 17:55:54 +0000 (19:55 +0200)
commit242fcd695db6225ef98c5ad084e6f15ec5953158
treedba35b81ce365e8309c66786efe13c9a54880daf
parentf770d75b1cac264d6280ec7326277daff6965cbb
rand/randfile.c: permit non-regular files in RAND_load_file.

Apparently applications rely on RAND_load_file's ability to work with
non-regular files, customarily with /dev/urandom, so that the ban was
not exactly appropriate.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5737)
crypto/rand/randfile.c
doc/man3/RAND_load_file.pod