Load the default config file before working with default properties
authorMatt Caswell <matt@openssl.org>
Fri, 31 Jul 2020 16:29:21 +0000 (17:29 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 17 Aug 2020 10:27:51 +0000 (11:27 +0100)
commite6c54619d151eeec32055bbd713cda11a9182246
tree7d1e275da8ee5d4ecbe66ae3c5593573b48dc1f2
parentebe3f24b3d53e503bd37a2a08a8b1f896014c30d
Load the default config file before working with default properties

A config file can change the global default properties. Therefore we
must ensure that the config file is loaded before reading or amending
them.

Fixes #12565

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12567)
crypto/evp/evp_cnf.c
crypto/evp/evp_fetch.c
crypto/property/property.c
include/crypto/evp.h
include/internal/property.h