OPENSSL_config(): restore error agnosticism
authorRichard Levitte <levitte@openssl.org>
Wed, 20 Mar 2019 09:18:13 +0000 (10:18 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 20 Mar 2019 13:25:43 +0000 (14:25 +0100)
commit9933d4a06bd0a0b5b757f072944e8cd54d4bddd3
tree2ad619a3e02adea39bd93bdd3f80f701779fc46c
parent20a8bce4bb70a3c4bfc69035c703fcdf8dcbc6cf
OPENSSL_config(): restore error agnosticism

Great effort has been made to make initialization more configurable.
However, the behavior of OPENSSL_config() was lost in the process,
having it suddenly generate errors it didn't previously, which is not
how it's documented to behave.

A simple setting of default flags fixes this problem.

Fixes #8528

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8533)

(cherry picked from commit 905c9a72a708701597891527b422c7f374125c52)
crypto/conf/conf_sap.c