summaryrefslogtreecommitdiff
path: root/crypto/conf/conf_sap.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2007-04-09 11:45:54 +0000
committerDr. Stephen Henson <steve@openssl.org>2007-04-09 11:45:54 +0000
commitd318fb79d291b491b07ee073a0d352f14729786c (patch)
tree3c290238e355b8b0f056e19fd05dbf331f592183 /crypto/conf/conf_sap.c
parent0cc361f3e7700537699c6668b3415d56acb7c3c3 (diff)
downloadopenssl-new-d318fb79d291b491b07ee073a0d352f14729786c.tar.gz
Don't ignore config_name parameter passed to OPENSSL_config(). Use
"openssl_conf" in config file if config_name variable is missing.
Diffstat (limited to 'crypto/conf/conf_sap.c')
-rw-r--r--crypto/conf/conf_sap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/conf/conf_sap.c b/crypto/conf/conf_sap.c
index e15c2e5546..9c53bac1a8 100644
--- a/crypto/conf/conf_sap.c
+++ b/crypto/conf/conf_sap.c
@@ -88,8 +88,8 @@ void OPENSSL_config(const char *config_name)
ERR_clear_error();
- if (CONF_modules_load_file(NULL, NULL,
- CONF_MFLAGS_IGNORE_MISSING_FILE) <= 0)
+ if (CONF_modules_load_file(NULL, config_name,
+ CONF_MFLAGS_DEFAULT_SECTION|CONF_MFLAGS_IGNORE_MISSING_FILE) <= 0)
{
BIO *bio_err;
ERR_load_crypto_strings();