Skip to content

Commit

Permalink
style: fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Taowyoo committed Jan 26, 2024
1 parent 1b273a5 commit 1cd9435
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mbedtls/src/pkcs12/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ enum Pkcs12BagSet {
EncryptedPkcs8(Vec<u8>),
Pkcs8(Vec<u8>),
Cert(CertBag),
#[allow(dead_code)]
UnknownBlob(Vec<u8>),
// XXX CRL and Secret bags not supported
//Crl(CrlBag),
Expand Down
1 change: 1 addition & 0 deletions mbedtls/src/rng/ctr_drbg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ use crate::alloc_prelude::*;
use crate::error::{IntoResult, Result};
use crate::rng::{EntropyCallback, EntropyCallbackMut, RngCallback, RngCallbackMut};

#[allow(dead_code)]
enum EntropyHolder {
Shared(Arc<dyn EntropyCallback + 'static>),
Unique(Box<dyn EntropyCallbackMut + 'static>),
Expand Down

0 comments on commit 1cd9435

Please sign in to comment.