aboutsummaryrefslogtreecommitdiffstats
path: root/apps/pkcs8.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-08-01 16:28:40 +0000
committerRichard Levitte <levitte@openssl.org>2002-08-01 16:28:40 +0000
commitda9b97246695c370702d15be2b3778427cf57082 (patch)
tree9ef594c01fa55c710cc254495f366e6763b368fc /apps/pkcs8.c
parentbd45950f4a85d04eb23a4d3846ed5a3c13bd19e0 (diff)
downloadopenssl-da9b97246695c370702d15be2b3778427cf57082.tar.gz
Make it possible to load keys from stdin, and restore that
functionality in the programs that had that before. Part fo PR 164
Diffstat (limited to 'apps/pkcs8.c')
-rw-r--r--apps/pkcs8.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/pkcs8.c b/apps/pkcs8.c
index ba91caee6b..912e32006b 100644
--- a/apps/pkcs8.c
+++ b/apps/pkcs8.c
@@ -222,7 +222,8 @@ int MAIN(int argc, char **argv)
if (topk8)
{
BIO_free(in); /* Not needed in this section */
- pkey = load_key(bio_err, infile, informat, passin, e, "key");
+ pkey = load_key(bio_err, infile, informat, 1,
+ passin, e, "key");
if (!pkey) {
return (1);
}