Avoid silly compiler warnings about functions not being declared and an int missing.
authorRichard Levitte <levitte@openssl.org>
Fri, 12 Nov 1999 02:10:23 +0000 (02:10 +0000)
committerRichard Levitte <levitte@openssl.org>
Fri, 12 Nov 1999 02:10:23 +0000 (02:10 +0000)
crypto/pkcs7/dec.c
crypto/pkcs7/enc.c
crypto/pkcs7/example.c
crypto/pkcs7/sign.c
crypto/pkcs7/verify.c

index c552c8f296a1572084ed0b2315016cb420d2f635..accd5811f134a78db899205bbd36643a0eadab55 100644 (file)
@@ -57,6 +57,7 @@
  */
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <openssl/bio.h>
 #include <openssl/x509.h>
 #include <openssl/pem.h>
index 968c47726b37ecd603e3a625197f2e572257179a..66a300aee7ccfcc6d64cab65ec9edb7640bb13b7 100644 (file)
@@ -56,6 +56,7 @@
  * [including the GNU Public Licence.]
  */
 #include <stdio.h>
+#include <string.h>
 #include <openssl/bio.h>
 #include <openssl/x509.h>
 #include <openssl/pem.h>
index 244abf95b34dec1c14a7b346dcce569cd0e4b2dc..f6656be28e19b30de5bc0039cb0959003d216c73 100644 (file)
@@ -1,5 +1,6 @@
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <openssl/pkcs7.h>
 #include <openssl/asn1_mac.h>
 
@@ -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)
        {
index 61dc2b187e14da29f03570b7fbb717bb10bb4c0d..367c00e0faa2d51c91965e8678545505f2fb37d0 100644 (file)
@@ -56,6 +56,7 @@
  * [including the GNU Public Licence.]
  */
 #include <stdio.h>
+#include <string.h>
 #include <openssl/bio.h>
 #include <openssl/x509.h>
 #include <openssl/pem.h>
index 6973fca63548a2f5287f933d94abc0ceaf26a2f6..8ae903cc8ade33abdcb9b0a2748318084e88fdb7 100644 (file)
@@ -56,6 +56,7 @@
  * [including the GNU Public Licence.]
  */
 #include <stdio.h>
+#include <string.h>
 #include <openssl/bio.h>
 #include <openssl/asn1.h>
 #include <openssl/x509.h>