From: Dr. Stephen Henson Date: Wed, 1 May 2002 20:07:46 +0000 (+0000) Subject: Add apps_startup and bio_err init code to smime.c X-Git-Tag: BEFORE_COMPAQ_PATCH~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=253ef2187cb5c70ac873fc37c370421a0b1998be;p=thirdparty%2Fopenssl.git Add apps_startup and bio_err init code to smime.c --- diff --git a/apps/smime.c b/apps/smime.c index 42451728db5..b05bd704e88 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;