OPENSSL_info(): add the item OPENSSL_INFO_SEED_SOURCE and use it
authorRichard Levitte <levitte@openssl.org>
Sat, 24 Aug 2019 10:40:10 +0000 (12:40 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 27 Aug 2019 16:44:36 +0000 (18:44 +0200)
commit096978f09908ba0f679ff905b0db4861a57eb1c8
tree68410e1446437b1a891a6036aa308e497459d479
parentb5a276884b8e945815732845540af3c8143e8457
OPENSSL_info(): add the item OPENSSL_INFO_SEED_SOURCE and use it

'openssl version -r' prints the seed source based on compiler macros.
This does not necessarily reflect the library's idea of what seed
sources to use, so we reimplement the list of seed sources as a
OPENSSL_info() item and display that instead.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9689)
apps/info.c
apps/version.c
crypto/info.c
doc/man1/openssl-info.pod
include/openssl/crypto.h