diff --git a/mbedtls/src/pkcs12/mod.rs b/mbedtls/src/pkcs12/mod.rs index a9dc9ba93..54e5a82fa 100644 --- a/mbedtls/src/pkcs12/mod.rs +++ b/mbedtls/src/pkcs12/mod.rs @@ -430,6 +430,7 @@ enum Pkcs12BagSet { EncryptedPkcs8(Vec), Pkcs8(Vec), Cert(CertBag), + #[allow(dead_code)] UnknownBlob(Vec), // XXX CRL and Secret bags not supported //Crl(CrlBag), diff --git a/mbedtls/src/rng/ctr_drbg.rs b/mbedtls/src/rng/ctr_drbg.rs index a3a378234..e0e250a91 100644 --- a/mbedtls/src/rng/ctr_drbg.rs +++ b/mbedtls/src/rng/ctr_drbg.rs @@ -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), Unique(Box),