summaryrefslogtreecommitdiffstats
path: root/apps/rsa.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2002-02-22 15:01:21 +0100
committerDr. Stephen Henson <steve@openssl.org>2002-02-22 15:01:21 +0100
commit3647bee263ebfef8694f7df07498a17b03ad883d (patch)
tree8d424b9291b1bb64b2dfd5924797912593f7cad6 /apps/rsa.c
parentWe have AES support in openssl speed (diff)
downloadopenssl-3647bee263ebfef8694f7df07498a17b03ad883d.tar.xz
openssl-3647bee263ebfef8694f7df07498a17b03ad883d.zip
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/rsa.c')
-rw-r--r--apps/rsa.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/rsa.c b/apps/rsa.c
index 6cadcb2174..60a3381527 100644
--- a/apps/rsa.c
+++ b/apps/rsa.c
@@ -113,6 +113,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;
+
infile=NULL;
outfile=NULL;
informat=FORMAT_PEM;