diff options
author | tb <> | 2022-07-24 18:48:04 +0000 |
---|---|---|
committer | tb <> | 2022-07-24 18:48:04 +0000 |
commit | d927a606e3bbf4b570e6a2e6758d82ddd5f0d13d (patch) | |
tree | 55def7d176776c48419d9bd9e1d1982a6c2d28d4 /src | |
parent | 1493045f08f03758295a7a7705e542ba0ab344fe (diff) | |
download | openbsd-d927a606e3bbf4b570e6a2e6758d82ddd5f0d13d.tar.gz openbsd-d927a606e3bbf4b570e6a2e6758d82ddd5f0d13d.tar.bz2 openbsd-d927a606e3bbf4b570e6a2e6758d82ddd5f0d13d.zip |
Per RFC 7292, safeContentsBag is a SEQUENCE OF, not a SET OF
OpenSSL b709babb by Richard Levitte
ok jsing
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/pkcs12/p12_asn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/pkcs12/p12_asn.c b/src/lib/libcrypto/pkcs12/p12_asn.c index d152063e37..5103e093ee 100644 --- a/src/lib/libcrypto/pkcs12/p12_asn.c +++ b/src/lib/libcrypto/pkcs12/p12_asn.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p12_asn.c,v 1.10 2022/01/14 08:16:13 tb Exp $ */ | 1 | /* $OpenBSD: p12_asn.c,v 1.11 2022/07/24 18:48:04 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -323,7 +323,7 @@ static const ASN1_ADB_TABLE PKCS12_SAFEBAG_adbtbl[] = { | |||
323 | { | 323 | { |
324 | .value = NID_safeContentsBag, | 324 | .value = NID_safeContentsBag, |
325 | .tt = { | 325 | .tt = { |
326 | .flags = ASN1_TFLG_EXPLICIT | ASN1_TFLG_SET_OF, | 326 | .flags = ASN1_TFLG_EXPLICIT | ASN1_TFLG_SEQUENCE_OF, |
327 | .tag = 0, | 327 | .tag = 0, |
328 | .offset = offsetof(PKCS12_SAFEBAG, value.safes), | 328 | .offset = offsetof(PKCS12_SAFEBAG, value.safes), |
329 | .field_name = "value.safes", | 329 | .field_name = "value.safes", |