Skip to content

Commit

Permalink
Merge pull request #342 from fortanix/yx/bump-mbedtls-version
Browse files Browse the repository at this point in the history
Bump mbedtls to 0.12.2 to have a new version to include #339
  • Loading branch information
Taowyoo authored Jan 26, 2024
2 parents 51429f1 + 1cd9435 commit 6bcc23e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mbedtls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "mbedtls"
# We jumped from v0.9 to v0.12 because v0.10 and v0.11 were based on mbedtls 3.X, which
# we decided not to support.
version = "0.12.1"
version = "0.12.2"
authors = ["Jethro Beekman <[email protected]>"]
build = "build.rs"
edition = "2018"
Expand Down
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 6bcc23e

Please sign in to comment.