aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-06-05 05:21:19 +0000
committerRichard Levitte <levitte@openssl.org>2002-06-05 05:21:19 +0000
commitd0f07ceeee0ee1ed48d52c7e974caeb71360d636 (patch)
tree340b9d5639c1a2152a2922dad6169757184666c2
parent68927d3670b01fdc1487f2d6dc3df1ed1f3d43be (diff)
downloadopenssl-d0f07ceeee0ee1ed48d52c7e974caeb71360d636.tar.gz
Addapt loadkeys.c to API changes
PR: 64
-rw-r--r--demos/maurice/loadkeys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/maurice/loadkeys.c b/demos/maurice/loadkeys.c
index 0f3464753a..792371c264 100644
--- a/demos/maurice/loadkeys.c
+++ b/demos/maurice/loadkeys.c
@@ -33,7 +33,7 @@ EVP_PKEY * ReadPublicKey(const char *certfile)
x509 = (X509 *)PEM_ASN1_read ((char *(*)())d2i_X509,
PEM_STRING_X509,
- fp, NULL, NULL);
+ fp, NULL, NULL, NULL);
if (x509 == NULL)
{
@@ -64,7 +64,7 @@ EVP_PKEY *ReadPrivateKey(const char *keyfile)
pkey = (EVP_PKEY*)PEM_ASN1_read ((char *(*)())d2i_PrivateKey,
PEM_STRING_EVP_PKEY,
fp,
- NULL, NULL);
+ NULL, NULL, NULL);
fclose (fp);