[openssl] openssl-3.0 update
Matt Caswell
matt at openssl.org
Wed Oct 27 11:25:08 UTC 2021
The branch openssl-3.0 has been updated
via 8121c0d0363eb3a513c65a7a12cc7a24c10b7d45 (commit)
from 81cb26d457f866efdc3a22ffb018327c5a002570 (commit)
- Log -----------------------------------------------------------------
commit 8121c0d0363eb3a513c65a7a12cc7a24c10b7d45
Author: Matt Caswell <matt at openssl.org>
Date: Fri Oct 22 10:17:14 2021 +0100
Fix a gcc 11.2.0 warning
gcc 11.2.0 is the default on Ubuntu 21.10. It emits a (spurious) warning
when compiling test/packettest.c, which causes --strict-warnings builds
to fail. A simple fix avoids the warning.
Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
(Merged from https://github.com/openssl/openssl/pull/16887)
(cherry picked from commit 37467b2752f75ce80437120f704452982b7c1998)
-----------------------------------------------------------------------
Summary of changes:
test/packettest.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/packettest.c b/test/packettest.c
index 2d6c2a6ef9..e8aec47446 100644
--- a/test/packettest.c
+++ b/test/packettest.c
@@ -302,7 +302,7 @@ static int test_PACKET_forward(void)
static int test_PACKET_buf_init(void)
{
- unsigned char buf1[BUF_LEN];
+ unsigned char buf1[BUF_LEN] = { 0 };
PACKET pkt;
/* Also tests PACKET_remaining() */
More information about the openssl-commits
mailing list