Skip to content

Commit

Permalink
fix: set MBEDTLS_SSL_OUT_CONTENT_LEN smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
Taowyoo committed Jul 11, 2023
1 parent f9fefe0 commit cb645ad
Show file tree
Hide file tree
Showing 3 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-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mbedtls-sys-auto"
version = "3.5.0-alpha.2+0b3de6f"
version = "3.5.0-alpha.3+0b3de6f"
authors = ["Jethro Beekman <[email protected]>"]
build = "build/build.rs"
license = "Apache-2.0 OR GPL-2.0-or-later"
Expand Down
2 changes: 2 additions & 0 deletions mbedtls-sys/build/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,8 @@ pub const FEATURE_DEFINES: &'static [(&'static str, CDefine)] = &[
("tls13", ("MBEDTLS_SSL_TLS1_3_TICKET_AGE_TOLERANCE", DefinedAs("6000"))),
("tls13", ("MBEDTLS_SSL_TLS1_3_TICKET_NONCE_LENGTH", DefinedAs("32"))),
("tls13", ("MBEDTLS_SSL_TLS1_3_DEFAULT_NEW_SESSION_TICKETS", DefinedAs("1"))),
// TODO: This is a temporary fix for issue: #293
("tls13", ("MBEDTLS_SSL_OUT_CONTENT_LEN", DefinedAs("15360"))),
];

#[cfg_attr(rustfmt, rustfmt_skip)]
Expand Down

0 comments on commit cb645ad

Please sign in to comment.