summaryrefslogtreecommitdiffstats
path: root/apps/pkcs12.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/pkcs12.c
parentbd45950f4a85d04eb23a4d3846ed5a3c13bd19e0 (diff)
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/pkcs12.c')
-rw-r--r--apps/pkcs12.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pkcs12.c b/apps/pkcs12.c
index e345cf1489..73550d1801 100644
--- a/apps/pkcs12.c
+++ b/apps/pkcs12.c
@@ -427,7 +427,7 @@ int MAIN(int argc, char **argv)
CRYPTO_push_info("process -export_cert");
CRYPTO_push_info("reading private key");
#endif
- key = load_key(bio_err, keyname ? keyname : infile, FORMAT_PEM,
+ key = load_key(bio_err, keyname ? keyname : infile, FORMAT_PEM, 1,
passin, e, "private key");
if (!key) {
goto export_end;