summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/demos/maurice/loadkeys.c
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2002-07-30 13:38:06 +0000
committernectar <nectar@FreeBSD.org>2002-07-30 13:38:06 +0000
commit9b2d8504539be7c47e0a668f28f683954960e251 (patch)
tree452372b320a4ccc86f09651553392a2a8f3794be /crypto/openssl/demos/maurice/loadkeys.c
parent86b15117de99802621746d29e72559dfc406c288 (diff)
parent2f13e0916590f8488178999aec4874ed5662a031 (diff)
downloadFreeBSD-src-9b2d8504539be7c47e0a668f28f683954960e251.zip
FreeBSD-src-9b2d8504539be7c47e0a668f28f683954960e251.tar.gz
This commit was generated by cvs2svn to compensate for changes in r100936,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'crypto/openssl/demos/maurice/loadkeys.c')
-rw-r--r--crypto/openssl/demos/maurice/loadkeys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/openssl/demos/maurice/loadkeys.c b/crypto/openssl/demos/maurice/loadkeys.c
index 0f34647..792371c 100644
--- a/crypto/openssl/demos/maurice/loadkeys.c
+++ b/crypto/openssl/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);
OpenPOWER on IntegriCloud