Remove pointless guard in cms header
authorjoshua <joshua@openbsd.org>
Sat, 30 Mar 2024 00:35:15 +0000 (00:35 +0000)
committerjoshua <joshua@openbsd.org>
Sat, 30 Mar 2024 00:35:15 +0000 (00:35 +0000)
ok jsing

lib/libcrypto/cms/cms.h

index 75983ce..90030bd 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: cms.h,v 1.17 2024/03/29 02:28:50 jsing Exp $ */
+/* $OpenBSD: cms.h,v 1.18 2024/03/30 00:35:15 joshua Exp $ */
 /*
  * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
  * project.
@@ -315,8 +315,6 @@ int CMS_unsigned_add1_attr_by_txt(CMS_SignerInfo *si, const char *attrname,
 void *CMS_unsigned_get0_data_by_OBJ(CMS_SignerInfo *si, ASN1_OBJECT *oid,
     int lastpos, int type);
 
-#ifdef HEADER_X509V3_H
-
 int CMS_get1_ReceiptRequest(CMS_SignerInfo *si, CMS_ReceiptRequest **prr);
 CMS_ReceiptRequest *CMS_ReceiptRequest_create0(unsigned char *id, int idlen,
     int allorfirst, STACK_OF(GENERAL_NAMES) *receiptList,
@@ -325,7 +323,7 @@ int CMS_add1_ReceiptRequest(CMS_SignerInfo *si, CMS_ReceiptRequest *rr);
 void CMS_ReceiptRequest_get0_values(CMS_ReceiptRequest *rr, ASN1_STRING **pcid,
     int *pallorfirst, STACK_OF(GENERAL_NAMES) **plist,
     STACK_OF(GENERAL_NAMES) **prto);
-#endif
+
 int CMS_RecipientInfo_kari_get0_alg(CMS_RecipientInfo *ri, X509_ALGOR **palg,
     ASN1_OCTET_STRING **pukm);
 STACK_OF(CMS_RecipientEncryptedKey) *