mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 10:55:38 +01:00
Merge pull request #2963 from jiblime/zlib-fix into development
This commit is contained in:
commit
b719d4bede
@ -6,6 +6,8 @@ Bugfix
|
|||||||
* Allow loading symlinked certificates. Fixes #3005. Reported and fixed
|
* Allow loading symlinked certificates. Fixes #3005. Reported and fixed
|
||||||
by Jonathan Bennett <JBennett@incomsystems.biz> via #3008.
|
by Jonathan Bennett <JBennett@incomsystems.biz> via #3008.
|
||||||
* Fix an unchecked call to mbedtls_md() in the x509write module.
|
* Fix an unchecked call to mbedtls_md() in the x509write module.
|
||||||
|
* Fix build failure with MBEDTLS_ZLIB_SUPPORT enabled. Reported by
|
||||||
|
Jack Lloyd in #2859. Fix submitted by jiblime in #2963.
|
||||||
|
|
||||||
= mbed TLS 2.20.0 branch released 2020-01-15
|
= mbed TLS 2.20.0 branch released 2020-01-15
|
||||||
|
|
||||||
|
@ -1880,7 +1880,7 @@ int mbedtls_ssl_derive_keys( mbedtls_ssl_context *ssl )
|
|||||||
|
|
||||||
/* Allocate compression buffer */
|
/* Allocate compression buffer */
|
||||||
#if defined(MBEDTLS_ZLIB_SUPPORT)
|
#if defined(MBEDTLS_ZLIB_SUPPORT)
|
||||||
if( session->compression == MBEDTLS_SSL_COMPRESS_DEFLATE &&
|
if( ssl->session_negotiate->compression == MBEDTLS_SSL_COMPRESS_DEFLATE &&
|
||||||
ssl->compress_buf == NULL )
|
ssl->compress_buf == NULL )
|
||||||
{
|
{
|
||||||
MBEDTLS_SSL_DEBUG_MSG( 3, ( "Allocating compression buffer" ) );
|
MBEDTLS_SSL_DEBUG_MSG( 3, ( "Allocating compression buffer" ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user