diff options
author | steve <steve> | 2002-02-22 13:58:39 +0000 |
---|---|---|
committer | steve <steve> | 2002-02-22 13:58:39 +0000 |
commit | 4ccda9e6a1013f9da0e673ee58b8a238ce46dc54 (patch) | |
tree | aa3e5e3d782aaa712b1cf612f358fb36b790033e /apps/spkac.c | |
parent | e449cb5e7deb33e2ea565033523fa7252934a9c7 (diff) | |
download | openssl-4ccda9e6a1013f9da0e673ee58b8a238ce46dc54.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/spkac.c')
-rw-r--r-- | apps/spkac.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/spkac.c b/apps/spkac.c index fa5dc248c..049a37963 100644 --- a/apps/spkac.c +++ b/apps/spkac.c @@ -98,6 +98,9 @@ int MAIN(int argc, char **argv) if (!bio_err) bio_err = BIO_new_fp(stderr, BIO_NOCLOSE); + if (!load_config(bio_err, NULL)) + goto end; + prog=argv[0]; argc--; argv++; |