projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make (ancient) sign.c demo compile again.
[openssl.git]
/
demos
/
sign
/
sign.c
diff --git
a/demos/sign/sign.c
b/demos/sign/sign.c
index
0fdf0de
..
a6c66e1
100644
(file)
--- 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);
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) {
fclose (fp);
if (pkey == NULL) {
@@
-122,7
+122,7
@@
int main ()
fp = fopen (certfile, "r");
if (fp == NULL) exit (1);
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) {
fclose (fp);
if (x509 == NULL) {