From f48158b85413677b72a27dd262d1be2931e84a5a Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 12 Nov 1999 02:10:23 +0000 Subject: [PATCH] Avoid silly compiler warnings about functions not being declared and an int missing. --- crypto/pkcs7/dec.c | 1 + crypto/pkcs7/enc.c | 1 + crypto/pkcs7/example.c | 3 ++- crypto/pkcs7/sign.c | 1 + crypto/pkcs7/verify.c | 1 + 5 files changed, 6 insertions(+), 1 deletion(-) diff --git a/crypto/pkcs7/dec.c b/crypto/pkcs7/dec.c index c552c8f296..accd5811f1 100644 --- a/crypto/pkcs7/dec.c +++ b/crypto/pkcs7/dec.c @@ -57,6 +57,7 @@ */ #include #include +#include #include #include #include diff --git a/crypto/pkcs7/enc.c b/crypto/pkcs7/enc.c index 968c47726b..66a300aee7 100644 --- a/crypto/pkcs7/enc.c +++ b/crypto/pkcs7/enc.c @@ -56,6 +56,7 @@ * [including the GNU Public Licence.] */ #include +#include #include #include #include diff --git a/crypto/pkcs7/example.c b/crypto/pkcs7/example.c index 244abf95b3..f6656be28e 100644 --- a/crypto/pkcs7/example.c +++ b/crypto/pkcs7/example.c @@ -1,5 +1,6 @@ #include #include +#include #include #include @@ -68,7 +69,7 @@ int get_signed_string(PKCS7_SIGNER_INFO *si, char *buf, int len) return(0); } -static signed_seq2string_nid= -1; +static int signed_seq2string_nid= -1; /* ########################################### */ int add_signed_seq2string(PKCS7_SIGNER_INFO *si, char *str1, char *str2) { diff --git a/crypto/pkcs7/sign.c b/crypto/pkcs7/sign.c index 61dc2b187e..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 diff --git a/crypto/pkcs7/verify.c b/crypto/pkcs7/verify.c index 6973fca635..8ae903cc8a 100644 --- a/crypto/pkcs7/verify.c +++ b/crypto/pkcs7/verify.c @@ -56,6 +56,7 @@ * [including the GNU Public Licence.] */ #include +#include #include #include #include -- 2.25.1