Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps/dh.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2002-02-22 16:58:15 +0300
committerDr. Stephen Henson <steve@openssl.org>2002-02-22 16:58:15 +0300
commit0cd8572b2d83fa0b9121a74dc6fa857c73ef6064 (patch)
tree1bb059273cb4236a149ec63a1044927897045545 /apps/dh.c
parent7c2831ac902fc3367978528a6d3a539e12475950 (diff)
Config code updates.
CONF_modules_unload() now calls CONF_modules_finish() automatically. Default use of section openssl_conf moved to CONF_modules_load() Load config file in several openssl utilities. Most utilities now load modules from the config file, though in a few (such as version) this isn't done because it couldn't be used for anything. In the case of ca and req the config file used is the same as the utility itself: that is the -config command line option can be used to specify an alternative file.
Diffstat (limited to 'apps/dh.c')
-rw-r--r--apps/dh.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/dh.c b/apps/dh.c
index dc854264f0..27c3dc8df2 100644
--- a/apps/dh.c
+++ b/apps/dh.c
@@ -100,6 +100,9 @@ int MAIN(int argc, char **argv)
if ((bio_err=BIO_new(BIO_s_file())) != NULL)
BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT);
+ if (!load_config(bio_err, NULL))
+ goto end;
+
engine=NULL;
infile=NULL;
outfile=NULL;