diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-02-08 15:06:48 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-02-08 15:11:08 +0000 |
commit | dd9589740d54b81c5aef6c7f5fa28f68f23fb27f (patch) | |
tree | 858f47468763d7a76a574b47c54bd165ec2a3b0e /apps/pkey.c | |
parent | 2f0c9d5cdf8a7eee73a3fde4f626b53434d04f91 (diff) | |
download | openssl-new-dd9589740d54b81c5aef6c7f5fa28f68f23fb27f.tar.gz |
Fix engine key support in utilities.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'apps/pkey.c')
-rw-r--r-- | apps/pkey.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/pkey.c b/apps/pkey.c index 40db6f57f9..6f5ecf0ce6 100644 --- a/apps/pkey.c +++ b/apps/pkey.c @@ -75,7 +75,7 @@ OPTIONS pkey_options[] = { {"outform", OPT_OUTFORM, 'F', "Output format (DER or PEM)"}, {"passin", OPT_PASSIN, 's', "Input file pass phrase source"}, {"passout", OPT_PASSOUT, 's', "Output file pass phrase source"}, - {"in", OPT_IN, '<', "Input file"}, + {"in", OPT_IN, 's', "Input key"}, {"out", OPT_OUT, '>', "Output file"}, {"pubin", OPT_PUBIN, '-', "Read public key from input (default is private key)"}, @@ -116,7 +116,7 @@ int pkey_main(int argc, char **argv) ret = 0; goto end; case OPT_INFORM: - if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &informat)) + if (!opt_format(opt_arg(), OPT_FMT_ANY, &informat)) goto opthelp; break; case OPT_OUTFORM: |