summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cms
diff options
context:
space:
mode:
authorjsg <>2024-05-19 07:12:50 +0000
committerjsg <>2024-05-19 07:12:50 +0000
commit9dd363a8109e5383b08891f9d0307a5d5aa2bc09 (patch)
treea9e3f27188824105f77f68dbe9ae80aee57ba7ce /src/lib/libcrypto/cms
parent2a2414e87248de1d6a6d027ac6b588df8921bf28 (diff)
downloadopenbsd-9dd363a8109e5383b08891f9d0307a5d5aa2bc09.tar.gz
openbsd-9dd363a8109e5383b08891f9d0307a5d5aa2bc09.tar.bz2
openbsd-9dd363a8109e5383b08891f9d0307a5d5aa2bc09.zip
remove prototypes with no matching function
feedback and ok tb@
Diffstat (limited to 'src/lib/libcrypto/cms')
-rw-r--r--src/lib/libcrypto/cms/cms_local.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/libcrypto/cms/cms_local.h b/src/lib/libcrypto/cms/cms_local.h
index 2e3a3637e8..6be60e9047 100644
--- a/src/lib/libcrypto/cms/cms_local.h
+++ b/src/lib/libcrypto/cms/cms_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: cms_local.h,v 1.5 2023/08/24 04:56:36 tb Exp $ */ 1/* $OpenBSD: cms_local.h,v 1.6 2024/05/19 07:12:50 jsg 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.
@@ -394,8 +394,6 @@ extern const ASN1_ITEM CMS_Attributes_Sign_it;
394extern const ASN1_ITEM CMS_Attributes_Verify_it; 394extern const ASN1_ITEM CMS_Attributes_Verify_it;
395extern const ASN1_ITEM CMS_RecipientInfo_it; 395extern const ASN1_ITEM CMS_RecipientInfo_it;
396extern const ASN1_ITEM CMS_PasswordRecipientInfo_it; 396extern const ASN1_ITEM CMS_PasswordRecipientInfo_it;
397CMS_IssuerAndSerialNumber *CMS_IssuerAndSerialNumber_new(void);
398void CMS_IssuerAndSerialNumber_free(CMS_IssuerAndSerialNumber *a);
399 397
400#define CMS_SIGNERINFO_ISSUER_SERIAL 0 398#define CMS_SIGNERINFO_ISSUER_SERIAL 0
401#define CMS_SIGNERINFO_KEYIDENTIFIER 1 399#define CMS_SIGNERINFO_KEYIDENTIFIER 1
@@ -423,9 +421,6 @@ int cms_SignerIdentifier_get0_signer_id(CMS_SignerIdentifier *sid,
423 ASN1_OCTET_STRING **keyid, X509_NAME **issuer, ASN1_INTEGER **sno); 421 ASN1_OCTET_STRING **keyid, X509_NAME **issuer, ASN1_INTEGER **sno);
424int cms_SignerIdentifier_cert_cmp(CMS_SignerIdentifier *sid, X509 *cert); 422int cms_SignerIdentifier_cert_cmp(CMS_SignerIdentifier *sid, X509 *cert);
425 423
426CMS_ContentInfo *cms_CompressedData_create(int comp_nid);
427BIO *cms_CompressedData_init_bio(CMS_ContentInfo *cms);
428
429BIO *cms_DigestAlgorithm_init_bio(X509_ALGOR *digestAlgorithm); 424BIO *cms_DigestAlgorithm_init_bio(X509_ALGOR *digestAlgorithm);
430int cms_DigestAlgorithm_find_ctx(EVP_MD_CTX *mctx, BIO *chain, 425int cms_DigestAlgorithm_find_ctx(EVP_MD_CTX *mctx, BIO *chain,
431 X509_ALGOR *mdalg); 426 X509_ALGOR *mdalg);