Commit 6606c83 1 parent b00cca1 commit 6606c83 Copy full SHA for 6606c83
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 @@ -285,14 +285,14 @@ fn cert_to_bag<'a>(
285
285
) -> CryptographyResult < cryptography_x509:: pkcs12:: SafeBag < ' a > > {
286
286
Ok ( cryptography_x509:: pkcs12:: SafeBag {
287
287
_bag_id : asn1:: DefinedByMarker :: marker ( ) ,
288
- bag_value : asn1:: Explicit :: new ( cryptography_x509:: pkcs12:: BagValue :: CertBag (
288
+ bag_value : asn1:: Explicit :: new ( cryptography_x509:: pkcs12:: BagValue :: CertBag ( Box :: new (
289
289
cryptography_x509:: pkcs12:: CertBag {
290
290
_cert_id : asn1:: DefinedByMarker :: marker ( ) ,
291
291
cert_value : asn1:: Explicit :: new ( cryptography_x509:: pkcs12:: CertType :: X509 (
292
292
asn1:: OctetStringEncoded :: new ( cert. raw . borrow_dependent ( ) . clone ( ) ) ,
293
293
) ) ,
294
294
} ,
295
- ) ) ,
295
+ ) ) ) ,
296
296
attributes : pkcs12_attributes ( friendly_name, local_key_id) ?,
297
297
} )
298
298
}
You can’t perform that action at this time.
0 commit comments