diff --git a/crypto/x509/t_x509.c b/crypto/x509/t_x509.c index b4d7a3e0dc..4cab108bf2 100644 --- a/crypto/x509/t_x509.c +++ b/crypto/x509/t_x509.c @@ -60,19 +60,11 @@ #include "internal/cryptlib.h" #include #include -#ifndef OPENSSL_NO_RSA -# include -#endif -#ifndef OPENSSL_NO_DSA -# include -#endif -#ifndef OPENSSL_NO_EC -# include -#endif #include #include #include #include "internal/asn1_int.h" +#include "internal/x509_int.h" #ifndef OPENSSL_NO_STDIO int X509_print_fp(FILE *fp, X509 *x) diff --git a/crypto/x509/x509_set.c b/crypto/x509/x509_set.c index 1284bcb3db..7873edf33d 100644 --- a/crypto/x509/x509_set.c +++ b/crypto/x509/x509_set.c @@ -62,6 +62,7 @@ #include #include #include +#include "internal/x509_int.h" int X509_set_version(X509 *x, long version) { diff --git a/crypto/x509/x_x509.c b/crypto/x509/x_x509.c index d775eeb162..028c75a924 100644 --- a/crypto/x509/x_x509.c +++ b/crypto/x509/x_x509.c @@ -62,6 +62,7 @@ #include #include #include +#include "internal/x509_int.h" ASN1_SEQUENCE_enc(X509_CINF, enc, 0) = { ASN1_EXP_OPT(X509_CINF, version, ASN1_INTEGER, 0), diff --git a/crypto/x509v3/pcy_cache.c b/crypto/x509v3/pcy_cache.c index 61065aadc5..41a748d872 100644 --- a/crypto/x509v3/pcy_cache.c +++ b/crypto/x509v3/pcy_cache.c @@ -60,6 +60,7 @@ #include "internal/cryptlib.h" #include #include +#include "internal/x509_int.h" #include "pcy_int.h" diff --git a/crypto/x509v3/pcy_map.c b/crypto/x509v3/pcy_map.c index a4ff30cb76..4989a816c4 100644 --- a/crypto/x509v3/pcy_map.c +++ b/crypto/x509v3/pcy_map.c @@ -60,6 +60,7 @@ #include "internal/cryptlib.h" #include #include +#include "internal/x509_int.h" #include "pcy_int.h" diff --git a/crypto/x509v3/v3_addr.c b/crypto/x509v3/v3_addr.c index ff6fb32a96..f4a3bcbeda 100644 --- a/crypto/x509v3/v3_addr.c +++ b/crypto/x509v3/v3_addr.c @@ -68,6 +68,7 @@ #include #include #include +#include "internal/x509_int.h" #include "ext_dat.h" #ifndef OPENSSL_NO_RFC3779 diff --git a/crypto/x509v3/v3_asid.c b/crypto/x509v3/v3_asid.c index e1cde646f2..af527ebc1b 100644 --- a/crypto/x509v3/v3_asid.c +++ b/crypto/x509v3/v3_asid.c @@ -67,6 +67,7 @@ #include #include #include +#include "internal/x509_int.h" #include #include "ext_dat.h"