Commit de1de66 1 parent a95db13 commit de1de66 Copy full SHA for de1de66
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ pub enum AttributeSet<'a> {
55
55
#[ derive( asn1:: Asn1DefinedByWrite ) ]
56
56
pub enum BagValue < ' a > {
57
57
#[ defined_by( CERT_BAG_OID ) ]
58
- CertBag ( CertBag < ' a > ) ,
58
+ CertBag ( Box < CertBag < ' a > > ) ,
59
59
60
60
#[ defined_by( KEY_BAG_OID ) ]
61
61
KeyBag ( asn1:: Tlv < ' a > ) ,
Original file line number Diff line number Diff line change @@ -386,14 +386,14 @@ fn cert_to_bag<'a>(
386
386
) -> CryptographyResult < cryptography_x509:: pkcs12:: SafeBag < ' a > > {
387
387
Ok ( cryptography_x509:: pkcs12:: SafeBag {
388
388
_bag_id : asn1:: DefinedByMarker :: marker ( ) ,
389
- bag_value : asn1:: Explicit :: new ( cryptography_x509:: pkcs12:: BagValue :: CertBag (
389
+ bag_value : asn1:: Explicit :: new ( cryptography_x509:: pkcs12:: BagValue :: CertBag ( Box :: new (
390
390
cryptography_x509:: pkcs12:: CertBag {
391
391
_cert_id : asn1:: DefinedByMarker :: marker ( ) ,
392
392
cert_value : asn1:: Explicit :: new ( cryptography_x509:: pkcs12:: CertType :: X509 (
393
393
asn1:: OctetStringEncoded :: new ( cert. raw . borrow_dependent ( ) . clone ( ) ) ,
394
394
) ) ,
395
395
} ,
396
- ) ) ,
396
+ ) ) ) ,
397
397
attributes : pkcs12_attributes ( friendly_name, local_key_id) ?,
398
398
} )
399
399
}
You can’t perform that action at this time.
0 commit comments