Skip to content

Commit 1cf21c9

Browse files
committed
ChaCha20 test: properly initialize variable
Signed-off-by: Stephan Mueller <smueller@chronox.de>
1 parent daa49af commit 1cf21c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drng/tests/chacha20_drng_tester.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ static int chacha20_drng_selftest(struct lc_chacha20_drng_ctx *cc20_ctx)
163163

164164
static int chacha20_tester(void)
165165
{
166-
struct lc_chacha20_drng_ctx *cc20_ctx_heap;
166+
struct lc_chacha20_drng_ctx *cc20_ctx_heap = NULL;
167167
int ret;
168168
LC_CC20_DRNG_CTX_ON_STACK(cc20_ctx);
169169

0 commit comments

Comments
 (0)