projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb0f53b
)
Add apps_startup and bio_err init code to smime.c
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 1 May 2002 20:06:24 +0000
(20:06 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 1 May 2002 20:06:24 +0000
(20:06 +0000)
apps/smime.c
patch
|
blob
|
history
diff --git
a/apps/smime.c
b/apps/smime.c
index 42451728db540c335681271e5c7776b6ec1da31e..b05bd704e88715a825c5e1fc1e5a2895f51183c5 100644
(file)
--- 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;