Skip to content

Commit

Permalink
Allow write-only code
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulstrackx committed Oct 13, 2021
1 parent 29fc9ec commit 28c202f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mbedtls/src/pkcs12/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ impl BERDecodable for EncryptedData {

// EncryptedContentInfo from PKCS7 see RFC 2315 section 10.1
#[derive(Debug, Clone)]
#[allow(dead_code)]
struct EncryptedContentInfo {
content_type: ObjectIdentifier,
encryption_algo: AlgorithmIdentifier,
Expand Down Expand Up @@ -454,6 +455,7 @@ enum Pkcs12BagSet {
}

#[derive(Debug, Clone)]
#[allow(dead_code)]
struct SafeBag {
bag_id: ObjectIdentifier,
bag_value: Pkcs12BagSet,
Expand Down

0 comments on commit 28c202f

Please sign in to comment.