summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2026-04-06 08:18:19 +0000
committertb <>2026-04-06 08:18:19 +0000
commitcbb1e8b1b47d23d60d1672f412e831bd3bca7ce4 (patch)
treeed64480c830279d268d58c6798a430437cc15a3d /src
parent83af2b7df80e8a0adb0622cd22bb59b2f6484960 (diff)
downloadopenbsd-cbb1e8b1b47d23d60d1672f412e831bd3bca7ce4.tar.gz
openbsd-cbb1e8b1b47d23d60d1672f412e831bd3bca7ce4.tar.bz2
openbsd-cbb1e8b1b47d23d60d1672f412e831bd3bca7ce4.zip
cms_local.h: remove #ifdef X509V3_HEADER_H
All thirteen files including cms_local.h do that after including cms.h, which already includes x509v3.h, so this is always defined. While here make the cms_local.h a bit more selfstanding by including asn1.h and x509v3.h ok bcook jsing (who had the same diff) kenjiro
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/cms/cms_local.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/libcrypto/cms/cms_local.h b/src/lib/libcrypto/cms/cms_local.h
index 6be60e9047..f8e8b56e18 100644
--- a/src/lib/libcrypto/cms/cms_local.h
+++ b/src/lib/libcrypto/cms/cms_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: cms_local.h,v 1.6 2024/05/19 07:12:50 jsg Exp $ */ 1/* $OpenBSD: cms_local.h,v 1.7 2026/04/06 08:18:19 tb Exp $ */
2/* 2/*
3 * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 3 * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
4 * project. 4 * project.
@@ -55,7 +55,9 @@
55#ifndef HEADER_CMS_LOCAL_H 55#ifndef HEADER_CMS_LOCAL_H
56#define HEADER_CMS_LOCAL_H 56#define HEADER_CMS_LOCAL_H
57 57
58#include <openssl/asn1.h>
58#include <openssl/x509.h> 59#include <openssl/x509.h>
60#include <openssl/x509v3.h>
59 61
60/* 62/*
61 * Cryptographic message syntax (CMS) structures: taken from RFC3852 63 * Cryptographic message syntax (CMS) structures: taken from RFC3852
@@ -364,8 +366,6 @@ struct CMS_OtherKeyAttribute_st {
364 366
365/* ESS structures */ 367/* ESS structures */
366 368
367#ifdef HEADER_X509V3_H
368
369struct CMS_ReceiptRequest_st { 369struct CMS_ReceiptRequest_st {
370 ASN1_OCTET_STRING *signedContentIdentifier; 370 ASN1_OCTET_STRING *signedContentIdentifier;
371 CMS_ReceiptsFrom *receiptsFrom; 371 CMS_ReceiptsFrom *receiptsFrom;
@@ -379,7 +379,6 @@ struct CMS_ReceiptsFrom_st {
379 STACK_OF(GENERAL_NAMES) *receiptList; 379 STACK_OF(GENERAL_NAMES) *receiptList;
380 } d; 380 } d;
381}; 381};
382#endif
383 382
384struct CMS_Receipt_st { 383struct CMS_Receipt_st {
385 long version; 384 long version;