mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 23:45:49 +01:00
Merge pull request #2873 from gilles-peskine-arm/bk-warning-fixes-x509
Fix some possibly-undefined variable warnings
This commit is contained in:
commit
657daba81c
@ -14,6 +14,8 @@ Bugfix
|
|||||||
* 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
|
* Fix build failure with MBEDTLS_ZLIB_SUPPORT enabled. Reported by
|
||||||
Jack Lloyd in #2859. Fix submitted by jiblime in #2963.
|
Jack Lloyd in #2859. Fix submitted by jiblime in #2963.
|
||||||
|
* Fix some false-positive uninitialized variable warnings in X.509. Fix
|
||||||
|
contributed by apple-ihack-geek in #2663.
|
||||||
|
|
||||||
= mbed TLS 2.20.0 branch released 2020-01-15
|
= mbed TLS 2.20.0 branch released 2020-01-15
|
||||||
|
|
||||||
@ -86,8 +88,6 @@ Bugfix
|
|||||||
* mbedtls_ctr_drbg_set_entropy_len() and
|
* mbedtls_ctr_drbg_set_entropy_len() and
|
||||||
mbedtls_hmac_drbg_set_entropy_len() now work if you call them before
|
mbedtls_hmac_drbg_set_entropy_len() now work if you call them before
|
||||||
mbedtls_ctr_drbg_seed() or mbedtls_hmac_drbg_seed().
|
mbedtls_ctr_drbg_seed() or mbedtls_hmac_drbg_seed().
|
||||||
* Fix some false-positive uninitialized variable warnings. Fix contributed
|
|
||||||
by apple-ihack-geek in #2663.
|
|
||||||
|
|
||||||
Changes
|
Changes
|
||||||
* Remove the technical possibility to define custom mbedtls_md_info
|
* Remove the technical possibility to define custom mbedtls_md_info
|
||||||
@ -119,6 +119,10 @@ API Changes
|
|||||||
mbedtls_ssl_export_keys_ext_t, so that the key exporter is discouraged
|
mbedtls_ssl_export_keys_ext_t, so that the key exporter is discouraged
|
||||||
from modifying the client/server hello.
|
from modifying the client/server hello.
|
||||||
|
|
||||||
|
Bugfix
|
||||||
|
* Fix some false-positive uninitialized variable warnings in crypto. Fix
|
||||||
|
contributed by apple-ihack-geek in #2663.
|
||||||
|
|
||||||
= mbed TLS 2.19.0 branch released 2019-09-06
|
= mbed TLS 2.19.0 branch released 2019-09-06
|
||||||
|
|
||||||
Security
|
Security
|
||||||
|
@ -541,7 +541,7 @@ int mbedtls_x509_crl_parse( mbedtls_x509_crl *chain, const unsigned char *buf, s
|
|||||||
{
|
{
|
||||||
#if defined(MBEDTLS_PEM_PARSE_C)
|
#if defined(MBEDTLS_PEM_PARSE_C)
|
||||||
int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
||||||
size_t use_len;
|
size_t use_len = 0;
|
||||||
mbedtls_pem_context pem;
|
mbedtls_pem_context pem;
|
||||||
int is_pem = 0;
|
int is_pem = 0;
|
||||||
|
|
||||||
|
@ -2538,7 +2538,7 @@ static int x509_crt_find_parent_in(
|
|||||||
{
|
{
|
||||||
int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
||||||
mbedtls_x509_crt *parent, *fallback_parent;
|
mbedtls_x509_crt *parent, *fallback_parent;
|
||||||
int signature_is_good, fallback_signature_is_good;
|
int signature_is_good = 0, fallback_signature_is_good;
|
||||||
|
|
||||||
#if defined(MBEDTLS_ECDSA_C) && defined(MBEDTLS_ECP_RESTARTABLE)
|
#if defined(MBEDTLS_ECDSA_C) && defined(MBEDTLS_ECP_RESTARTABLE)
|
||||||
/* did we have something in progress? */
|
/* did we have something in progress? */
|
||||||
|
Loading…
Reference in New Issue
Block a user