You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2019/02/01 14:55:35 UTC
[mynewt-core] branch master updated: mbedtls;
fix build warning of uninitialized variable.
This is an automated email from the ASF dual-hosted git repository.
marko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
The following commit(s) were added to refs/heads/master by this push:
new ee3b880 mbedtls; fix build warning of uninitialized variable.
new 4385934 Merge pull request #1628 from mkiiskila/fix_x509_crt_warn
ee3b880 is described below
commit ee3b88048ba87ffc7e14c4536b7cc11ebe537920
Author: Marko Kiiskila <ma...@apache.org>
AuthorDate: Fri Feb 1 16:01:57 2019 +0200
mbedtls; fix build warning of uninitialized variable.
---
crypto/mbedtls/src/x509_crt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/mbedtls/src/x509_crt.c b/crypto/mbedtls/src/x509_crt.c
index 3e505e2..70476d7 100644
--- a/crypto/mbedtls/src/x509_crt.c
+++ b/crypto/mbedtls/src/x509_crt.c
@@ -2014,7 +2014,7 @@ static int x509_crt_find_parent_in(
{
int ret;
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)
/* did we have something in progress? */