X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=crypto%2Fpkcs7%2Fsign.c;h=367c00e0faa2d51c91965e8678545505f2fb37d0;hb=9868232ae1c0aaac34e0f96643031d68a5e417d3;hp=d5f11540064c21e76c8e85602867caef8af125ba;hpb=213a75dbf21b8f641a9ee90cc12882fc429bb84b;p=oweals%2Fopenssl.git diff --git a/crypto/pkcs7/sign.c b/crypto/pkcs7/sign.c index d5f1154006..367c00e0fa 100644 --- a/crypto/pkcs7/sign.c +++ b/crypto/pkcs7/sign.c @@ -56,6 +56,7 @@ * [including the GNU Public Licence.] */ #include +#include #include #include #include @@ -97,9 +98,9 @@ again: BIO_set_fp(data,stdin,BIO_NOCLOSE); if ((in=BIO_new_file("server.pem","r")) == NULL) goto err; - if ((x509=PEM_read_bio_X509(in,NULL,NULL)) == NULL) goto err; + if ((x509=PEM_read_bio_X509(in,NULL,NULL,NULL)) == NULL) goto err; BIO_reset(in); - if ((pkey=PEM_read_bio_PrivateKey(in,NULL,NULL)) == NULL) goto err; + if ((pkey=PEM_read_bio_PrivateKey(in,NULL,NULL,NULL)) == NULL) goto err; BIO_free(in); p7=PKCS7_new();