[openssl] master update
tomas at openssl.org
tomas at openssl.org
Wed Jan 5 08:59:50 UTC 2022
The branch master has been updated
via abc4345a19430869b9a8925c6defc9e9ce977429 (commit)
from e06c0a2870c55aa4e66108ca071e7da7fd00b922 (commit)
- Log -----------------------------------------------------------------
commit abc4345a19430869b9a8925c6defc9e9ce977429
Author: fangming.fang <fangming.fang at arm.com>
Date: Tue Dec 28 04:13:21 2021 +0000
fix building failure when using -Wconditional-uninitialized
Use clang -Wconditional-uninitialized to build, the error "initialize
the variable 'buffer_size' to silence this warning" will be reported.
Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17375)
-----------------------------------------------------------------------
Summary of changes:
crypto/armcap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/armcap.c b/crypto/armcap.c
index 117c57efe4..72ed0a024a 100644
--- a/crypto/armcap.c
+++ b/crypto/armcap.c
@@ -65,7 +65,7 @@ size_t OPENSSL_rndrrs_bytes(unsigned char *buf, size_t len);
static size_t OPENSSL_rndr_wrapper(size_t (*func)(unsigned char *, size_t), unsigned char *buf, size_t len)
{
- size_t buffer_size;
+ size_t buffer_size = 0;
int i;
for (i = 0; i < 8; i++) {
More information about the openssl-commits
mailing list