diff options
author | tb <> | 2023-08-24 04:56:36 +0000 |
---|---|---|
committer | tb <> | 2023-08-24 04:56:36 +0000 |
commit | f762db7fa64e98041a128e0822623f490c5367b2 (patch) | |
tree | b70ec1d263e7add67413c80eae4cc3651cd39484 /src/lib/libcrypto/cms/cms_lib.c | |
parent | 38ee9becc314438a922fd9621705aa259b96a69d (diff) | |
download | openbsd-f762db7fa64e98041a128e0822623f490c5367b2.tar.gz openbsd-f762db7fa64e98041a128e0822623f490c5367b2.tar.bz2 openbsd-f762db7fa64e98041a128e0822623f490c5367b2.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.c | 4 |
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 | ||
124 | BIO * | 124 | static BIO * |
125 | cms_content_bio(CMS_ContentInfo *cms) | 125 | cms_content_bio(CMS_ContentInfo *cms) |
126 | { | 126 | { |
127 | ASN1_OCTET_STRING **pos; | 127 | ASN1_OCTET_STRING **pos; |