diff options
Diffstat (limited to 'src/lib/libcrypto/cms/cms_lcl.h')
-rw-r--r-- | src/lib/libcrypto/cms/cms_lcl.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/lib/libcrypto/cms/cms_lcl.h b/src/lib/libcrypto/cms/cms_lcl.h index b46290af3e..a8ccaf4488 100644 --- a/src/lib/libcrypto/cms/cms_lcl.h +++ b/src/lib/libcrypto/cms/cms_lcl.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cms_lcl.h,v 1.10 2019/08/11 10:15:30 jsing Exp $ */ | 1 | /* $OpenBSD: cms_lcl.h,v 1.11 2019/08/11 10:26:04 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. |
@@ -108,7 +108,7 @@ struct CMS_ContentInfo_st { | |||
108 | DECLARE_STACK_OF(CMS_CertificateChoices) | 108 | DECLARE_STACK_OF(CMS_CertificateChoices) |
109 | 109 | ||
110 | struct CMS_SignedData_st { | 110 | struct CMS_SignedData_st { |
111 | int32_t version; | 111 | long version; |
112 | STACK_OF(X509_ALGOR) *digestAlgorithms; | 112 | STACK_OF(X509_ALGOR) *digestAlgorithms; |
113 | CMS_EncapsulatedContentInfo *encapContentInfo; | 113 | CMS_EncapsulatedContentInfo *encapContentInfo; |
114 | STACK_OF(CMS_CertificateChoices) *certificates; | 114 | STACK_OF(CMS_CertificateChoices) *certificates; |
@@ -124,7 +124,7 @@ struct CMS_EncapsulatedContentInfo_st { | |||
124 | }; | 124 | }; |
125 | 125 | ||
126 | struct CMS_SignerInfo_st { | 126 | struct CMS_SignerInfo_st { |
127 | int32_t version; | 127 | long version; |
128 | CMS_SignerIdentifier *sid; | 128 | CMS_SignerIdentifier *sid; |
129 | X509_ALGOR *digestAlgorithm; | 129 | X509_ALGOR *digestAlgorithm; |
130 | STACK_OF(X509_ATTRIBUTE) *signedAttrs; | 130 | STACK_OF(X509_ATTRIBUTE) *signedAttrs; |
@@ -148,7 +148,7 @@ struct CMS_SignerIdentifier_st { | |||
148 | }; | 148 | }; |
149 | 149 | ||
150 | struct CMS_EnvelopedData_st { | 150 | struct CMS_EnvelopedData_st { |
151 | int32_t version; | 151 | long version; |
152 | CMS_OriginatorInfo *originatorInfo; | 152 | CMS_OriginatorInfo *originatorInfo; |
153 | STACK_OF(CMS_RecipientInfo) *recipientInfos; | 153 | STACK_OF(CMS_RecipientInfo) *recipientInfos; |
154 | CMS_EncryptedContentInfo *encryptedContentInfo; | 154 | CMS_EncryptedContentInfo *encryptedContentInfo; |
@@ -186,7 +186,7 @@ struct CMS_RecipientInfo_st { | |||
186 | typedef CMS_SignerIdentifier CMS_RecipientIdentifier; | 186 | typedef CMS_SignerIdentifier CMS_RecipientIdentifier; |
187 | 187 | ||
188 | struct CMS_KeyTransRecipientInfo_st { | 188 | struct CMS_KeyTransRecipientInfo_st { |
189 | int32_t version; | 189 | long version; |
190 | CMS_RecipientIdentifier *rid; | 190 | CMS_RecipientIdentifier *rid; |
191 | X509_ALGOR *keyEncryptionAlgorithm; | 191 | X509_ALGOR *keyEncryptionAlgorithm; |
192 | ASN1_OCTET_STRING *encryptedKey; | 192 | ASN1_OCTET_STRING *encryptedKey; |
@@ -198,7 +198,7 @@ struct CMS_KeyTransRecipientInfo_st { | |||
198 | }; | 198 | }; |
199 | 199 | ||
200 | struct CMS_KeyAgreeRecipientInfo_st { | 200 | struct CMS_KeyAgreeRecipientInfo_st { |
201 | int32_t version; | 201 | long version; |
202 | CMS_OriginatorIdentifierOrKey *originator; | 202 | CMS_OriginatorIdentifierOrKey *originator; |
203 | ASN1_OCTET_STRING *ukm; | 203 | ASN1_OCTET_STRING *ukm; |
204 | X509_ALGOR *keyEncryptionAlgorithm; | 204 | X509_ALGOR *keyEncryptionAlgorithm; |
@@ -245,7 +245,7 @@ struct CMS_RecipientKeyIdentifier_st { | |||
245 | }; | 245 | }; |
246 | 246 | ||
247 | struct CMS_KEKRecipientInfo_st { | 247 | struct CMS_KEKRecipientInfo_st { |
248 | int32_t version; | 248 | long version; |
249 | CMS_KEKIdentifier *kekid; | 249 | CMS_KEKIdentifier *kekid; |
250 | X509_ALGOR *keyEncryptionAlgorithm; | 250 | X509_ALGOR *keyEncryptionAlgorithm; |
251 | ASN1_OCTET_STRING *encryptedKey; | 251 | ASN1_OCTET_STRING *encryptedKey; |
@@ -261,7 +261,7 @@ struct CMS_KEKIdentifier_st { | |||
261 | }; | 261 | }; |
262 | 262 | ||
263 | struct CMS_PasswordRecipientInfo_st { | 263 | struct CMS_PasswordRecipientInfo_st { |
264 | int32_t version; | 264 | long version; |
265 | X509_ALGOR *keyDerivationAlgorithm; | 265 | X509_ALGOR *keyDerivationAlgorithm; |
266 | X509_ALGOR *keyEncryptionAlgorithm; | 266 | X509_ALGOR *keyEncryptionAlgorithm; |
267 | ASN1_OCTET_STRING *encryptedKey; | 267 | ASN1_OCTET_STRING *encryptedKey; |
@@ -276,20 +276,20 @@ struct CMS_OtherRecipientInfo_st { | |||
276 | }; | 276 | }; |
277 | 277 | ||
278 | struct CMS_DigestedData_st { | 278 | struct CMS_DigestedData_st { |
279 | int32_t version; | 279 | long version; |
280 | X509_ALGOR *digestAlgorithm; | 280 | X509_ALGOR *digestAlgorithm; |
281 | CMS_EncapsulatedContentInfo *encapContentInfo; | 281 | CMS_EncapsulatedContentInfo *encapContentInfo; |
282 | ASN1_OCTET_STRING *digest; | 282 | ASN1_OCTET_STRING *digest; |
283 | }; | 283 | }; |
284 | 284 | ||
285 | struct CMS_EncryptedData_st { | 285 | struct CMS_EncryptedData_st { |
286 | int32_t version; | 286 | long version; |
287 | CMS_EncryptedContentInfo *encryptedContentInfo; | 287 | CMS_EncryptedContentInfo *encryptedContentInfo; |
288 | STACK_OF(X509_ATTRIBUTE) *unprotectedAttrs; | 288 | STACK_OF(X509_ATTRIBUTE) *unprotectedAttrs; |
289 | }; | 289 | }; |
290 | 290 | ||
291 | struct CMS_AuthenticatedData_st { | 291 | struct CMS_AuthenticatedData_st { |
292 | int32_t version; | 292 | long version; |
293 | CMS_OriginatorInfo *originatorInfo; | 293 | CMS_OriginatorInfo *originatorInfo; |
294 | STACK_OF(CMS_RecipientInfo) *recipientInfos; | 294 | STACK_OF(CMS_RecipientInfo) *recipientInfos; |
295 | X509_ALGOR *macAlgorithm; | 295 | X509_ALGOR *macAlgorithm; |
@@ -301,7 +301,7 @@ struct CMS_AuthenticatedData_st { | |||
301 | }; | 301 | }; |
302 | 302 | ||
303 | struct CMS_CompressedData_st { | 303 | struct CMS_CompressedData_st { |
304 | int32_t version; | 304 | long version; |
305 | X509_ALGOR *compressionAlgorithm; | 305 | X509_ALGOR *compressionAlgorithm; |
306 | STACK_OF(CMS_RecipientInfo) *recipientInfos; | 306 | STACK_OF(CMS_RecipientInfo) *recipientInfos; |
307 | CMS_EncapsulatedContentInfo *encapContentInfo; | 307 | CMS_EncapsulatedContentInfo *encapContentInfo; |
@@ -373,14 +373,14 @@ struct CMS_ReceiptRequest_st { | |||
373 | struct CMS_ReceiptsFrom_st { | 373 | struct CMS_ReceiptsFrom_st { |
374 | int type; | 374 | int type; |
375 | union { | 375 | union { |
376 | int32_t allOrFirstTier; | 376 | long allOrFirstTier; |
377 | STACK_OF(GENERAL_NAMES) *receiptList; | 377 | STACK_OF(GENERAL_NAMES) *receiptList; |
378 | } d; | 378 | } d; |
379 | }; | 379 | }; |
380 | #endif | 380 | #endif |
381 | 381 | ||
382 | struct CMS_Receipt_st { | 382 | struct CMS_Receipt_st { |
383 | int32_t version; | 383 | long version; |
384 | ASN1_OBJECT *contentType; | 384 | ASN1_OBJECT *contentType; |
385 | ASN1_OCTET_STRING *signedContentIdentifier; | 385 | ASN1_OCTET_STRING *signedContentIdentifier; |
386 | ASN1_OCTET_STRING *originatorSignatureValue; | 386 | ASN1_OCTET_STRING *originatorSignatureValue; |