summaryrefslogtreecommitdiff
path: root/lib/libcrypto/cms
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2019-08-11 08:15:28 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2019-08-11 08:15:28 +0000
commit870304c2d5d169c1431ad97e72ebdfc8b81f6e98 (patch)
treed110b8823f937729b9f35ce1dd56db470247a821 /lib/libcrypto/cms
parent643356e5abc1dd5fff453f79ad87b554eb6f4c89 (diff)
We use DECLARE_STACK_OF rather than DEFINE_STACK_OF.
Diffstat (limited to 'lib/libcrypto/cms')
-rw-r--r--lib/libcrypto/cms/cms.h10
-rw-r--r--lib/libcrypto/cms/cms_lcl.h4
2 files changed, 7 insertions, 7 deletions
diff --git a/lib/libcrypto/cms/cms.h b/lib/libcrypto/cms/cms.h
index ecb516b203f..d6396677776 100644
--- a/lib/libcrypto/cms/cms.h
+++ b/lib/libcrypto/cms/cms.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cms.h,v 1.13 2019/08/11 06:47:18 jsing Exp $ */
+/* $OpenBSD: cms.h,v 1.14 2019/08/11 08:15:27 jsing Exp $ */
/*
* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
@@ -74,10 +74,10 @@ typedef struct CMS_Receipt_st CMS_Receipt;
typedef struct CMS_RecipientEncryptedKey_st CMS_RecipientEncryptedKey;
typedef struct CMS_OtherKeyAttribute_st CMS_OtherKeyAttribute;
-DEFINE_STACK_OF(CMS_SignerInfo)
-DEFINE_STACK_OF(CMS_RecipientEncryptedKey)
-DEFINE_STACK_OF(CMS_RecipientInfo)
-DEFINE_STACK_OF(CMS_RevocationInfoChoice)
+DECLARE_STACK_OF(CMS_SignerInfo)
+DECLARE_STACK_OF(CMS_RecipientEncryptedKey)
+DECLARE_STACK_OF(CMS_RecipientInfo)
+DECLARE_STACK_OF(CMS_RevocationInfoChoice)
DECLARE_ASN1_FUNCTIONS(CMS_ContentInfo)
DECLARE_ASN1_FUNCTIONS(CMS_ReceiptRequest)
DECLARE_ASN1_PRINT_FUNCTION(CMS_ContentInfo)
diff --git a/lib/libcrypto/cms/cms_lcl.h b/lib/libcrypto/cms/cms_lcl.h
index 3dbfa43f20f..6504ee31a1b 100644
--- a/lib/libcrypto/cms/cms_lcl.h
+++ b/lib/libcrypto/cms/cms_lcl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cms_lcl.h,v 1.8 2019/08/10 18:27:49 jsing Exp $ */
+/* $OpenBSD: cms_lcl.h,v 1.9 2019/08/11 08:15:27 jsing Exp $ */
/*
* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
@@ -105,7 +105,7 @@ struct CMS_ContentInfo_st {
} d;
};
-DEFINE_STACK_OF(CMS_CertificateChoices)
+DECLARE_STACK_OF(CMS_CertificateChoices)
struct CMS_SignedData_st {
int32_t version;