From: tb Date: Sun, 14 Jan 2024 18:40:24 +0000 (+0000) Subject: Tidy a few more includes in cms/ X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=723bccacfc37c426413d0ea948b660141b880b6f;p=openbsd Tidy a few more includes in cms/ --- diff --git a/lib/libcrypto/cms/cms_enc.c b/lib/libcrypto/cms/cms_enc.c index 547f9ff7430..dee643fa19e 100644 --- a/lib/libcrypto/cms/cms_enc.c +++ b/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/lib/libcrypto/cms/cms_env.c b/lib/libcrypto/cms/cms_env.c index 7bb8f613a80..98979cdae15 100644 --- a/lib/libcrypto/cms/cms_env.c +++ b/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/lib/libcrypto/cms/cms_ess.c b/lib/libcrypto/cms/cms_ess.c index b9a4cd8afb1..16b54c19924 100644 --- a/lib/libcrypto/cms/cms_ess.c +++ b/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/lib/libcrypto/cms/cms_pwri.c b/lib/libcrypto/cms/cms_pwri.c index a5581a58bb0..b6fe5df9617 100644 --- a/lib/libcrypto/cms/cms_pwri.c +++ b/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,