diff --git a/src/tls13.c b/src/tls13.c index 8bce848a50..2524658153 100644 --- a/src/tls13.c +++ b/src/tls13.c @@ -2968,6 +2968,7 @@ static int Tls13IntegrityOnly_Decrypt(WOLFSSL* ssl, byte* output, /* Copy the input to output if not the same buffer */ if (ret == 0 && output != input) XMEMCPY(output, input, sz); + ForceZero(hmac, sizeof(hmac)); return ret; } #endif