Skip to content

Commit cb645ad

Browse files
committed
fix: set MBEDTLS_SSL_OUT_CONTENT_LEN smaller
1 parent f9fefe0 commit cb645ad

File tree

3 files changed

+4
-2
lines changed

3 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-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mbedtls-sys-auto"
3-
version = "3.5.0-alpha.2+0b3de6f"
3+
version = "3.5.0-alpha.3+0b3de6f"
44
authors = ["Jethro Beekman <[email protected]>"]
55
build = "build/build.rs"
66
license = "Apache-2.0 OR GPL-2.0-or-later"

mbedtls-sys/build/config.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,8 @@ pub const FEATURE_DEFINES: &'static [(&'static str, CDefine)] = &[
421421
("tls13", ("MBEDTLS_SSL_TLS1_3_TICKET_AGE_TOLERANCE", DefinedAs("6000"))),
422422
("tls13", ("MBEDTLS_SSL_TLS1_3_TICKET_NONCE_LENGTH", DefinedAs("32"))),
423423
("tls13", ("MBEDTLS_SSL_TLS1_3_DEFAULT_NEW_SESSION_TICKETS", DefinedAs("1"))),
424+
// TODO: This is a temporary fix for issue: #293
425+
("tls13", ("MBEDTLS_SSL_OUT_CONTENT_LEN", DefinedAs("15360"))),
424426
];
425427

426428
#[cfg_attr(rustfmt, rustfmt_skip)]

0 commit comments

Comments
 (0)