summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cms/cms.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/cms/cms.h')
-rw-r--r--src/lib/libcrypto/cms/cms.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/cms/cms.h b/src/lib/libcrypto/cms/cms.h
index 3c92be34f7..76672af097 100644
--- a/src/lib/libcrypto/cms/cms.h
+++ b/src/lib/libcrypto/cms/cms.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: cms.h,v 1.15 2019/08/11 10:15:30 jsing Exp $ */ 1/* $OpenBSD: cms.h,v 1.16 2023/07/28 10:28:02 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.
@@ -128,6 +128,9 @@ int CMS_ContentInfo_print_ctx(BIO *out, CMS_ContentInfo *x, int indent, const AS
128 128
129const ASN1_OBJECT *CMS_get0_type(const CMS_ContentInfo *cms); 129const ASN1_OBJECT *CMS_get0_type(const CMS_ContentInfo *cms);
130 130
131int CMS_get_version(const CMS_ContentInfo *cms, long *version);
132int CMS_SignerInfo_get_version(const CMS_SignerInfo *si, long *version);
133
131BIO *CMS_dataInit(CMS_ContentInfo *cms, BIO *icont); 134BIO *CMS_dataInit(CMS_ContentInfo *cms, BIO *icont);
132int CMS_dataFinal(CMS_ContentInfo *cms, BIO *bio); 135int CMS_dataFinal(CMS_ContentInfo *cms, BIO *bio);
133 136