From 0ef63048a088b9cd8f1a2031b88d31452eecf5ee Mon Sep 17 00:00:00 2001 From: David Garske Date: Mon, 30 Jul 2018 11:51:26 -0700 Subject: [PATCH] Fix for new report in `wc_BerToDer` with uninitialized `derSz`. --- wolfcrypt/test/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index 5fdeda243..83810daa0 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -19313,7 +19313,7 @@ int berder_test(void) { int ret; int i; - word32 len, l; + word32 len = 0, l; byte out[32]; static const byte good1_in[] = { 0x30, 0x80, 0x00, 0x00 }; static const byte good1_out[] = { 0x30, 0x00 };