projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add more features that may be disabled
[openssl.git]
/
apps
/
pkeyparam.c
diff --git
a/apps/pkeyparam.c
b/apps/pkeyparam.c
index 6039dad9d1905429cac32de01a6573842d090c0c..215611eb347d2a4243d7fd389cd208bc4070a65c 100644
(file)
--- a/
apps/pkeyparam.c
+++ b/
apps/pkeyparam.c
@@
-121,10
+121,10
@@
int pkeyparam_main(int argc, char **argv)
if (!app_load_modules(NULL))
goto end;
if (!app_load_modules(NULL))
goto end;
- in = bio_open_default(infile,
"r"
);
+ in = bio_open_default(infile,
'r', FORMAT_PEM
);
if (in == NULL)
goto end;
if (in == NULL)
goto end;
- out = bio_open_default(outfile,
"w"
);
+ out = bio_open_default(outfile,
'w', FORMAT_PEM
);
if (out == NULL)
goto end;
pkey = PEM_read_bio_Parameters(in, NULL);
if (out == NULL)
goto end;
pkey = PEM_read_bio_Parameters(in, NULL);