projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Display brief help if no options for list.
[openssl.git]
/
apps
/
gendsa.c
diff --git
a/apps/gendsa.c
b/apps/gendsa.c
index 087a44a1e899b2bb69c92e1f5300dec2c916f6b8..f1e1f54b8a463f3f8d845b262d5041129151b586 100644
(file)
--- a/
apps/gendsa.c
+++ b/
apps/gendsa.c
@@
-147,7
+147,7
@@
int gendsa_main(int argc, char **argv)
if (!app_load_modules(NULL))
goto end;
if (!app_load_modules(NULL))
goto end;
- in = bio_open_default(dsaparams,
"r"
);
+ in = bio_open_default(dsaparams,
'r', FORMAT_PEM
);
if (in == NULL)
goto end2;
if (in == NULL)
goto end2;
@@
-158,7
+158,7
@@
int gendsa_main(int argc, char **argv)
BIO_free(in);
in = NULL;
BIO_free(in);
in = NULL;
- out = bio_open_owner(outfile,
"w"
, private);
+ out = bio_open_owner(outfile,
FORMAT_PEM
, private);
if (out == NULL)
goto end2;
if (out == NULL)
goto end2;