From 89f534e1d30ed40a03455b36cda7da13734e7238 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Fri, 28 Sep 2001 00:47:36 +0000 Subject: [PATCH] Make (ancient) sign.c demo compile again. --- demos/sign/sign.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demos/sign/sign.c b/demos/sign/sign.c index 0fdf0de387..a6c66e17c3 100644 --- a/demos/sign/sign.c +++ b/demos/sign/sign.c @@ -96,7 +96,7 @@ int main () fp = fopen (keyfile, "r"); if (fp == NULL) exit (1); - pkey = PEM_read_PrivateKey(fp, NULL, NULL); + pkey = PEM_read_PrivateKey(fp, NULL, NULL, NULL); fclose (fp); if (pkey == NULL) { @@ -122,7 +122,7 @@ int main () fp = fopen (certfile, "r"); if (fp == NULL) exit (1); - x509 = PEM_read_X509(fp, NULL, NULL); + x509 = PEM_read_X509(fp, NULL, NULL, NULL); fclose (fp); if (x509 == NULL) {