aboutsummaryrefslogtreecommitdiff
path: root/apps/ocsp.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/ocsp.c
parentbd45950f4a85d04eb23a4d3846ed5a3c13bd19e0 (diff)
downloadopenssl-da9b97246695c370702d15be2b3778427cf57082.zip
openssl-da9b97246695c370702d15be2b3778427cf57082.tar.gz
openssl-da9b97246695c370702d15be2b3778427cf57082.tar.bz2
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/ocsp.c')
-rw-r--r--apps/ocsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/ocsp.c b/apps/ocsp.c
index 76a11ab..59b97a6 100644
--- a/apps/ocsp.c
+++ b/apps/ocsp.c
@@ -617,7 +617,7 @@ int MAIN(int argc, char **argv)
NULL, e, "responder other certificates");
if (!rother) goto end;
}
- rkey = load_key(bio_err, rkeyfile, FORMAT_PEM, NULL, NULL,
+ rkey = load_key(bio_err, rkeyfile, FORMAT_PEM, 0, NULL, NULL,
"responder private key");
if (!rkey)
goto end;
@@ -663,7 +663,7 @@ int MAIN(int argc, char **argv)
NULL, e, "signer certificates");
if (!sign_other) goto end;
}
- key = load_key(bio_err, keyfile, FORMAT_PEM, NULL, NULL,
+ key = load_key(bio_err, keyfile, FORMAT_PEM, 0, NULL, NULL,
"signer private key");
if (!key)
goto end;