diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2002-05-01 20:07:46 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2002-05-01 20:07:46 +0000 |
commit | 253ef2187cb5c70ac873fc37c370421a0b1998be (patch) | |
tree | 032c17bc5f1030aba8978929a2fa2ccc39161ccb /apps | |
parent | c0455cbb180e4662a734f11dbcb1f94beb2376a9 (diff) |
Add apps_startup and bio_err init code to smime.c
Diffstat (limited to 'apps')
-rw-r--r-- | apps/smime.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/smime.c b/apps/smime.c index 42451728db..b05bd704e8 100644 --- a/apps/smime.c +++ b/apps/smime.c @@ -109,6 +109,12 @@ int MAIN(int argc, char **argv) args = argv + 1; ret = 1; + apps_startup(); + + if (bio_err == NULL) + 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; |