A lot of things are undeclared unless x509.h is included.
[openssl.git] / 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 <openssl/x509.h>
 
 int add_signed_time(PKCS7_SIGNER_INFO *si)
        {