From: Dr. Stephen Henson Date: Fri, 28 Sep 2001 00:47:36 +0000 (+0000) Subject: Make (ancient) sign.c demo compile again. X-Git-Tag: OpenSSL-engine-0_9_6c~39^2~120 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=89f534e1d30ed40a03455b36cda7da13734e7238;p=openssl Make (ancient) sign.c demo compile again. --- 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) {