diff options
Diffstat (limited to 'src/lib/libcrypto/cms/cms.h')
-rw-r--r-- | src/lib/libcrypto/cms/cms.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/cms/cms.h b/src/lib/libcrypto/cms/cms.h index b524cd7c9c..ecb516b203 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.12 2019/08/10 18:24:33 jsing Exp $ */ | 1 | /* $OpenBSD: cms.h,v 1.13 2019/08/11 06:47:18 jsing 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. |
@@ -184,7 +184,7 @@ int CMS_decrypt_set1_pkey(CMS_ContentInfo *cms, EVP_PKEY *pk, X509 *cert); | |||
184 | int CMS_decrypt_set1_key(CMS_ContentInfo *cms, unsigned char *key, | 184 | int CMS_decrypt_set1_key(CMS_ContentInfo *cms, unsigned char *key, |
185 | size_t keylen, const unsigned char *id, size_t idlen); | 185 | size_t keylen, const unsigned char *id, size_t idlen); |
186 | int CMS_decrypt_set1_password(CMS_ContentInfo *cms, unsigned char *pass, | 186 | int CMS_decrypt_set1_password(CMS_ContentInfo *cms, unsigned char *pass, |
187 | ossl_ssize_t passlen); | 187 | ssize_t passlen); |
188 | 188 | ||
189 | STACK_OF(CMS_RecipientInfo) *CMS_get0_RecipientInfos(CMS_ContentInfo *cms); | 189 | STACK_OF(CMS_RecipientInfo) *CMS_get0_RecipientInfos(CMS_ContentInfo *cms); |
190 | int CMS_RecipientInfo_type(CMS_RecipientInfo *ri); | 190 | int CMS_RecipientInfo_type(CMS_RecipientInfo *ri); |
@@ -214,10 +214,10 @@ int CMS_RecipientInfo_kekri_id_cmp(CMS_RecipientInfo *ri, | |||
214 | const unsigned char *id, size_t idlen); | 214 | const unsigned char *id, size_t idlen); |
215 | 215 | ||
216 | int CMS_RecipientInfo_set0_password(CMS_RecipientInfo *ri, unsigned char *pass, | 216 | int CMS_RecipientInfo_set0_password(CMS_RecipientInfo *ri, unsigned char *pass, |
217 | ossl_ssize_t passlen); | 217 | ssize_t passlen); |
218 | 218 | ||
219 | CMS_RecipientInfo *CMS_add0_recipient_password(CMS_ContentInfo *cms, int iter, | 219 | CMS_RecipientInfo *CMS_add0_recipient_password(CMS_ContentInfo *cms, int iter, |
220 | int wrap_nid, int pbe_nid, unsigned char *pass, ossl_ssize_t passlen, | 220 | int wrap_nid, int pbe_nid, unsigned char *pass, ssize_t passlen, |
221 | const EVP_CIPHER *kekciph); | 221 | const EVP_CIPHER *kekciph); |
222 | 222 | ||
223 | int CMS_RecipientInfo_decrypt(CMS_ContentInfo *cms, CMS_RecipientInfo *ri); | 223 | int CMS_RecipientInfo_decrypt(CMS_ContentInfo *cms, CMS_RecipientInfo *ri); |