Tidy a few more includes in cms/
authortb <tb@openbsd.org>
Sun, 14 Jan 2024 18:40:24 +0000 (18:40 +0000)
committertb <tb@openbsd.org>
Sun, 14 Jan 2024 18:40:24 +0000 (18:40 +0000)
lib/libcrypto/cms/cms_enc.c
lib/libcrypto/cms/cms_env.c
lib/libcrypto/cms/cms_ess.c
lib/libcrypto/cms/cms_pwri.c

index 547f9ff..dee643f 100644 (file)
@@ -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.
 #include <openssl/err.h>
 #include <openssl/cms.h>
 #include <openssl/rand.h>
+
 #include "cms_local.h"
+#include "evp_local.h"
+#include "x509_local.h"
 
 /* CMS EncryptedData Utilities */
 
index 7bb8f61..98979cd 100644 (file)
@@ -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.
 
 #include <string.h>
 
-#include "cryptlib.h"
 #include <openssl/asn1t.h>
 #include <openssl/pem.h>
 #include <openssl/x509v3.h>
 #include <openssl/err.h>
 #include <openssl/cms.h>
 #include <openssl/aes.h>
-#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 */
 
index b9a4cd8..16b54c1 100644 (file)
@@ -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.
 
 #include <string.h>
 
-#include "cryptlib.h"
 #include <openssl/asn1t.h>
 #include <openssl/pem.h>
 #include <openssl/rand.h>
 #include <openssl/x509v3.h>
 #include <openssl/err.h>
 #include <openssl/cms.h>
-#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)
index a5581a5..b6fe5df 100644 (file)
@@ -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,