summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cms/cms_lib.c
diff options
context:
space:
mode:
authortb <>2023-08-24 04:56:36 +0000
committertb <>2023-08-24 04:56:36 +0000
commit9dbbc1f5ef836aca48dbc2856437e6f3b1f57250 (patch)
treeb70ec1d263e7add67413c80eae4cc3651cd39484 /src/lib/libcrypto/cms/cms_lib.c
parente553fbe9c9b506ee7e32e06d1991f65e3f531330 (diff)
downloadopenbsd-9dbbc1f5ef836aca48dbc2856437e6f3b1f57250.tar.gz
openbsd-9dbbc1f5ef836aca48dbc2856437e6f3b1f57250.tar.bz2
openbsd-9dbbc1f5ef836aca48dbc2856437e6f3b1f57250.zip
cms_content_bio() is not used outside of cms_lib.c
Make it a static function and remove its prototype from the internal header.
Diffstat (limited to 'src/lib/libcrypto/cms/cms_lib.c')
-rw-r--r--src/lib/libcrypto/cms/cms_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/cms/cms_lib.c b/src/lib/libcrypto/cms/cms_lib.c
index 5891302fdf..8a8fdbc8d5 100644
--- a/src/lib/libcrypto/cms/cms_lib.c
+++ b/src/lib/libcrypto/cms/cms_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: cms_lib.c,v 1.23 2023/08/24 04:54:26 tb Exp $ */ 1/* $OpenBSD: cms_lib.c,v 1.24 2023/08/24 04:56:36 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.
@@ -121,7 +121,7 @@ cms_Data_create(void)
121 return cms; 121 return cms;
122} 122}
123 123
124BIO * 124static BIO *
125cms_content_bio(CMS_ContentInfo *cms) 125cms_content_bio(CMS_ContentInfo *cms)
126{ 126{
127 ASN1_OCTET_STRING **pos; 127 ASN1_OCTET_STRING **pos;