summaryrefslogtreecommitdiffstats
path: root/crypto/asn1
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2023-10-19 09:18:37 +0200
committerTomas Mraz <tomas@openssl.org>2023-10-19 10:15:56 +0200
commit80f32964a5388f5a313ced88f17a41f17794e369 (patch)
tree11302b083800fb3c6e4f8dfe4956f067873ec6c8 /crypto/asn1
parent1d768852e938ea1b4c6076df0c5a1e59f9027f8c (diff)
Do not include crypto/asn1.h from internal/cryptlib.h
This is unnecessary and conceptualy wrong as headers from internal should not include headers from crypto Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22432)
Diffstat (limited to 'crypto/asn1')
-rw-r--r--crypto/asn1/asn1_gen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/asn1/asn1_gen.c b/crypto/asn1/asn1_gen.c
index 2b27624d8a..6f73449cf4 100644
--- a/crypto/asn1/asn1_gen.c
+++ b/crypto/asn1/asn1_gen.c
@@ -7,9 +7,10 @@
* https://www.openssl.org/source/license.html
*/
-#include "internal/cryptlib.h"
#include <openssl/asn1.h>
#include <openssl/x509v3.h>
+#include "internal/cryptlib.h"
+#include "crypto/asn1.h"
#define ASN1_GEN_FLAG 0x10000
#define ASN1_GEN_FLAG_IMP (ASN1_GEN_FLAG|1)