From 7275db42cfd89cfefc48c432321417f8bf75183b Mon Sep 17 00:00:00 2001 From: tb <> Date: Sun, 14 Jan 2024 18:40:24 +0000 Subject: Tidy a few more includes in cms/ --- src/lib/libcrypto/cms/cms_enc.c | 5 ++++- src/lib/libcrypto/cms/cms_env.c | 7 ++++--- src/lib/libcrypto/cms/cms_ess.c | 6 +++--- src/lib/libcrypto/cms/cms_pwri.c | 3 ++- 4 files changed, 13 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/lib/libcrypto/cms/cms_enc.c b/src/lib/libcrypto/cms/cms_enc.c index 547f9ff743..dee643fa19 100644 --- a/src/lib/libcrypto/cms/cms_enc.c +++ b/src/lib/libcrypto/cms/cms_enc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cms_enc.c,v 1.23 2023/07/08 08:26:26 beck Exp $ */ +/* $OpenBSD: cms_enc.c,v 1.24 2024/01/14 18:40:24 tb Exp $ */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project. @@ -61,7 +61,10 @@ #include #include #include + #include "cms_local.h" +#include "evp_local.h" +#include "x509_local.h" /* CMS EncryptedData Utilities */ diff --git a/src/lib/libcrypto/cms/cms_env.c b/src/lib/libcrypto/cms/cms_env.c index 7bb8f613a8..98979cdae1 100644 --- a/src/lib/libcrypto/cms/cms_env.c +++ b/src/lib/libcrypto/cms/cms_env.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cms_env.c,v 1.26 2023/07/08 08:26:26 beck Exp $ */ +/* $OpenBSD: cms_env.c,v 1.27 2024/01/14 18:40:24 tb Exp $ */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project. @@ -54,16 +54,17 @@ #include -#include "cryptlib.h" #include #include #include #include #include #include -#include "cms_local.h" + #include "asn1/asn1_local.h" +#include "cms_local.h" #include "evp/evp_local.h" +#include "x509_local.h" /* CMS EnvelopedData Utilities */ diff --git a/src/lib/libcrypto/cms/cms_ess.c b/src/lib/libcrypto/cms/cms_ess.c index b9a4cd8afb..16b54c1992 100644 --- a/src/lib/libcrypto/cms/cms_ess.c +++ b/src/lib/libcrypto/cms/cms_ess.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cms_ess.c,v 1.23 2023/07/08 08:26:26 beck Exp $ */ +/* $OpenBSD: cms_ess.c,v 1.24 2024/01/14 18:40:24 tb Exp $ */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project. @@ -54,15 +54,15 @@ #include -#include "cryptlib.h" #include #include #include #include #include #include -#include "cms_local.h" +#include "cms_local.h" +#include "x509_local.h" CMS_ReceiptRequest * d2i_CMS_ReceiptRequest(CMS_ReceiptRequest **a, const unsigned char **in, long len) diff --git a/src/lib/libcrypto/cms/cms_pwri.c b/src/lib/libcrypto/cms/cms_pwri.c index a5581a58bb..b6fe5df961 100644 --- a/src/lib/libcrypto/cms/cms_pwri.c +++ b/src/lib/libcrypto/cms/cms_pwri.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cms_pwri.c,v 1.30 2023/12/20 18:38:19 tb Exp $ */ +/* $OpenBSD: cms_pwri.c,v 1.31 2024/01/14 18:40:24 tb Exp $ */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project. @@ -66,6 +66,7 @@ #include "cms_local.h" #include "evp_local.h" +#include "x509_local.h" int CMS_RecipientInfo_set0_password(CMS_RecipientInfo *ri, unsigned char *pass, -- cgit v1.2.3-55-g6feb