Skip to content

Commit 6bcc23e

Browse files
authored
Merge pull request #342 from fortanix/yx/bump-mbedtls-version
Bump mbedtls to 0.12.2 to have a new version to include #339
2 parents 51429f1 + 1cd9435 commit 6bcc23e

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mbedtls/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "mbedtls"
33
# We jumped from v0.9 to v0.12 because v0.10 and v0.11 were based on mbedtls 3.X, which
44
# we decided not to support.
5-
version = "0.12.1"
5+
version = "0.12.2"
66
authors = ["Jethro Beekman <[email protected]>"]
77
build = "build.rs"
88
edition = "2018"

mbedtls/src/pkcs12/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,7 @@ enum Pkcs12BagSet {
430430
EncryptedPkcs8(Vec<u8>),
431431
Pkcs8(Vec<u8>),
432432
Cert(CertBag),
433+
#[allow(dead_code)]
433434
UnknownBlob(Vec<u8>),
434435
// XXX CRL and Secret bags not supported
435436
//Crl(CrlBag),

mbedtls/src/rng/ctr_drbg.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ use crate::alloc_prelude::*;
1919
use crate::error::{IntoResult, Result};
2020
use crate::rng::{EntropyCallback, EntropyCallbackMut, RngCallback, RngCallbackMut};
2121

22+
#[allow(dead_code)]
2223
enum EntropyHolder {
2324
Shared(Arc<dyn EntropyCallback + 'static>),
2425
Unique(Box<dyn EntropyCallbackMut + 'static>),

0 commit comments

Comments
 (0)