diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2002-02-22 14:01:21 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2002-02-22 14:01:21 +0000 |
commit | 3647bee263ebfef8694f7df07498a17b03ad883d (patch) | |
tree | 8d424b9291b1bb64b2dfd5924797912593f7cad6 /apps/rsautl.c | |
parent | e2aebccba1b7d5e02cfdb79d9bdce3d7f2b28dee (diff) | |
download | openssl-3647bee263ebfef8694f7df07498a17b03ad883d.tar.gz |
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/rsautl.c')
-rw-r--r-- | apps/rsautl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/rsautl.c b/apps/rsautl.c index e079dc87f8..9b02e6782e 100644 --- a/apps/rsautl.c +++ b/apps/rsautl.c @@ -104,6 +104,9 @@ int MAIN(int argc, char **argv) argv++; if(!bio_err) bio_err = BIO_new_fp(stderr, BIO_NOCLOSE); + + if (!load_config(bio_err, NULL)) + goto end; ERR_load_crypto_strings(); OpenSSL_add_all_algorithms(); pad = RSA_PKCS1_PADDING; |