提交 89f534e1 编写于 作者: D Dr. Stephen Henson

Make (ancient) sign.c demo compile again.

上级 d46c1a81
...@@ -96,7 +96,7 @@ int main () ...@@ -96,7 +96,7 @@ int main ()
fp = fopen (keyfile, "r"); fp = fopen (keyfile, "r");
if (fp == NULL) exit (1); if (fp == NULL) exit (1);
pkey = PEM_read_PrivateKey(fp, NULL, NULL); pkey = PEM_read_PrivateKey(fp, NULL, NULL, NULL);
fclose (fp); fclose (fp);
if (pkey == NULL) { if (pkey == NULL) {
...@@ -122,7 +122,7 @@ int main () ...@@ -122,7 +122,7 @@ int main ()
fp = fopen (certfile, "r"); fp = fopen (certfile, "r");
if (fp == NULL) exit (1); if (fp == NULL) exit (1);
x509 = PEM_read_X509(fp, NULL, NULL); x509 = PEM_read_X509(fp, NULL, NULL, NULL);
fclose (fp); fclose (fp);
if (x509 == NULL) { if (x509 == NULL) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册