Avoid silly compiler warnings about functions not being declared and an int missing.

This commit is contained in:
Richard Levitte 1999-11-12 02:10:23 +00:00
parent b3e1a4c68c
commit f48158b854
5 changed files with 6 additions and 1 deletions

View File

@ -57,6 +57,7 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
#include <openssl/bio.h> #include <openssl/bio.h>
#include <openssl/x509.h> #include <openssl/x509.h>
#include <openssl/pem.h> #include <openssl/pem.h>

View File

@ -56,6 +56,7 @@
* [including the GNU Public Licence.] * [including the GNU Public Licence.]
*/ */
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include <openssl/bio.h> #include <openssl/bio.h>
#include <openssl/x509.h> #include <openssl/x509.h>
#include <openssl/pem.h> #include <openssl/pem.h>

View File

@ -1,5 +1,6 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
#include <openssl/pkcs7.h> #include <openssl/pkcs7.h>
#include <openssl/asn1_mac.h> #include <openssl/asn1_mac.h>
@ -68,7 +69,7 @@ int get_signed_string(PKCS7_SIGNER_INFO *si, char *buf, int len)
return(0); 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) int add_signed_seq2string(PKCS7_SIGNER_INFO *si, char *str1, char *str2)
{ {

View File

@ -56,6 +56,7 @@
* [including the GNU Public Licence.] * [including the GNU Public Licence.]
*/ */
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include <openssl/bio.h> #include <openssl/bio.h>
#include <openssl/x509.h> #include <openssl/x509.h>
#include <openssl/pem.h> #include <openssl/pem.h>

View File

@ -56,6 +56,7 @@
* [including the GNU Public Licence.] * [including the GNU Public Licence.]
*/ */
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include <openssl/bio.h> #include <openssl/bio.h>
#include <openssl/asn1.h> #include <openssl/asn1.h>
#include <openssl/x509.h> #include <openssl/x509.h>