From 1349865a5621ce69f09ff4a0991afd74648df72b Mon Sep 17 00:00:00 2001 From: "Dr. David von Oheimb" Date: Fri, 5 Jun 2020 16:34:51 +0200 Subject: [PATCH] Silence gcc false positive warning on refdatalen in test/tls13encryptiontest.c Reviewed-by: Matt Caswell Reviewed-by: Bernd Edlinger (Merged from https://github.com/openssl/openssl/pull/12041) --- test/tls13encryptiontest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tls13encryptiontest.c b/test/tls13encryptiontest.c index 479ff4105e..dbe80a20fa 100644 --- a/test/tls13encryptiontest.c +++ b/test/tls13encryptiontest.c @@ -288,7 +288,7 @@ static int test_record(SSL3_RECORD *rec, RECORD_DATA *recd, int enc) { int ret = 0; unsigned char *refd; - size_t refdatalen; + size_t refdatalen = 0; if (enc) refd = multihexstr2buf(recd->ciphertext, &refdatalen); -- 2.25.1