diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/cms/cms_att.c | 2 | ||||
-rw-r--r-- | crypto/cms/cms_local.h | 2 | ||||
-rw-r--r-- | crypto/cms/cms_sd.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/crypto/cms/cms_att.c b/crypto/cms/cms_att.c index 2ac118b9e6..c7a757d80b 100644 --- a/crypto/cms/cms_att.c +++ b/crypto/cms/cms_att.c @@ -263,7 +263,7 @@ static int cms_check_attribute(int nid, int flags, int type, * attributes. Only one instance of each is allowed, with each of these * attributes containing a single attribute value in its set. */ -int CMS_si_check_attributes(const CMS_SignerInfo *si) +int ossl_cms_si_check_attributes(const CMS_SignerInfo *si) { int i; int have_signed_attrs = (CMS_signed_get_attr_count(si) > 0); diff --git a/crypto/cms/cms_local.h b/crypto/cms/cms_local.h index 0827c55a1c..15b4a29ce0 100644 --- a/crypto/cms/cms_local.h +++ b/crypto/cms/cms_local.h @@ -468,7 +468,7 @@ int ossl_cms_RecipientInfo_kari_encrypt(const CMS_ContentInfo *cms, int ossl_cms_RecipientInfo_pwri_crypt(const CMS_ContentInfo *cms, CMS_RecipientInfo *ri, int en_de); /* SignerInfo routines */ -int CMS_si_check_attributes(const CMS_SignerInfo *si); +int ossl_cms_si_check_attributes(const CMS_SignerInfo *si); void ossl_cms_SignerInfos_set_cmsctx(CMS_ContentInfo *cms); diff --git a/crypto/cms/cms_sd.c b/crypto/cms/cms_sd.c index 0c3f04388b..a57943513e 100644 --- a/crypto/cms/cms_sd.c +++ b/crypto/cms/cms_sd.c @@ -734,7 +734,7 @@ int CMS_SignerInfo_sign(CMS_SignerInfo *si) goto err; } - if (!CMS_si_check_attributes(si)) + if (!ossl_cms_si_check_attributes(si)) goto err; if (si->pctx) @@ -829,7 +829,7 @@ int CMS_SignerInfo_verify(CMS_SignerInfo *si) return -1; } - if (!CMS_si_check_attributes(si)) + if (!ossl_cms_si_check_attributes(si)) return -1; name = OBJ_nid2sn(OBJ_obj2nid(si->digestAlgorithm->algorithm)); |