From f3038b7aa5512572a04c14becee799ef275a6736 Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Wed, 29 Dec 2021 10:48:06 -0700 Subject: [PATCH] fix for location of xmemset --- src/internal.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/internal.c b/src/internal.c index 16b37dc9d..0dded42a7 100644 --- a/src/internal.c +++ b/src/internal.c @@ -18366,8 +18366,6 @@ int BuildMessage(WOLFSSL* ssl, byte* output, int outSz, const byte* input, ret = wc_RNG_GenerateBlock(ssl->rng, args->iv, args->ivSz); if (ret != 0) goto exit_buildmsg; - - XMEMSET(args->iv, 0, args->ivSz); } #if !defined(NO_PUBLIC_GCM_SET_IV) && \ ((defined(HAVE_FIPS) || defined(HAVE_SELFTEST)) && \