From b2c751a9ca656181d4c29d90f875d8878f158d86 Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Tue, 24 Jan 2023 14:00:22 -0600 Subject: [PATCH] wolfcrypt/src/asn.c: fix a maybe-uninitialized found by clang --enable-asn=template. --- wolfcrypt/src/asn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/asn.c b/wolfcrypt/src/asn.c index 2f46f8bf1..ed72dfd4a 100644 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -29102,7 +29102,7 @@ static int MakeCertReq(Cert* cert, byte* derBuffer, word32 derSz, int sz = 0; int ret = 0; #if defined(WOLFSSL_CERT_EXT) || defined(OPENSSL_EXTRA) - word32 sbjRawSz; + word32 sbjRawSz = 0; #endif /* Unused without OQS */