Commit f0e8ae72 authored by Bodo Möller's avatar Bodo Möller
Browse files

Torture weak compilers less by not automatically including x509.h where

it is not needed.
parent 93c106c4
Loading
Loading
Loading
Loading
+118 −326

File changed.

Preview size limit exceeded, changes collapsed.

+0 −2
Original line number Diff line number Diff line
@@ -64,8 +64,6 @@ extern "C" {
#endif

#include <openssl/asn1.h>
#include <openssl/x509.h>
#include <openssl/pkcs7.h>

#ifndef ASN1_MAC_ERR_LIB
#define ASN1_MAC_ERR_LIB	ERR_LIB_ASN1
+1 −0
Original line number Diff line number Diff line
@@ -59,6 +59,7 @@
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/asn1_mac.h>
#include <openssl/x509.h>
#include <openssl/rand.h>

/* PKCS#5 password based encryption structure */
+1 −0
Original line number Diff line number Diff line
@@ -59,6 +59,7 @@
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/asn1_mac.h>
#include <openssl/x509.h>
#include <openssl/rand.h>

/* PKCS#5 v2.0 password based encryption structures */
+1 −0
Original line number Diff line number Diff line
@@ -59,6 +59,7 @@
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/asn1_mac.h>
#include <openssl/pkcs7.h>
#include <openssl/objects.h>

int i2d_PKCS7(PKCS7 *a, unsigned char **pp)
Loading