A lot of things are undeclared unless x509.h is included.
authorRichard Levitte <levitte@openssl.org>
Tue, 2 Oct 2001 11:06:42 +0000 (11:06 +0000)
committerRichard Levitte <levitte@openssl.org>
Tue, 2 Oct 2001 11:06:42 +0000 (11:06 +0000)
crypto/pkcs7/example.c

index f6656be..c993947 100644 (file)
@@ -3,6 +3,7 @@
 #include <string.h>
 #include <openssl/pkcs7.h>
 #include <openssl/asn1_mac.h>
 #include <string.h>
 #include <openssl/pkcs7.h>
 #include <openssl/asn1_mac.h>
+#include <openssl/x509.h>
 
 int add_signed_time(PKCS7_SIGNER_INFO *si)
        {
 
 int add_signed_time(PKCS7_SIGNER_INFO *si)
        {