projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdae099
)
Stupid apps should die, not fail silently.
author
Ben Laurie
<ben@openssl.org>
Fri, 18 Jan 2002 11:46:39 +0000
(11:46 +0000)
committer
Ben Laurie
<ben@openssl.org>
Fri, 18 Jan 2002 11:46:39 +0000
(11:46 +0000)
crypto/conf/conf_mall.c
patch
|
blob
|
history
diff --git
a/crypto/conf/conf_mall.c
b/crypto/conf/conf_mall.c
index 01a653252c0a529eb262a78b65fddf09b72b2178..7ecc1aee61f99c957d7863a402fe992fa181a648 100644
(file)
--- a/
crypto/conf/conf_mall.c
+++ b/
crypto/conf/conf_mall.c
@@
-96,7
+96,19
@@
void OPENSSL_config(void)
file=config_name;
}
- CONF_modules_load_file(file, "openssl_config", CONF_MFLAGS_IGNORE_ERRORS);
+ if(CONF_modules_load_file(file, "openssl_config", 0) <= 0)
+ {
+ BIO *bio_err;
+
+ ERR_load_crypto_strings();
+ if ((bio_err=BIO_new(BIO_s_file())) != NULL)
+ {
+ BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT);
+ BIO_printf(bio_err,"Auto configuration failed\n");
+ ERR_print_errors(bio_err);
+ }
+ exit(1);
+ }
return;