From 3ff051f3e4c3d905fd9ebdc5018c73da2126ebe3 Mon Sep 17 00:00:00 2001 From: Juliusz Sosinowicz Date: Mon, 16 Mar 2026 14:55:06 +0100 Subject: [PATCH] Use secure wipe for RSA temporary F-718 --- src/pk_rsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pk_rsa.c b/src/pk_rsa.c index b454ac79e2..c102f4ec21 100644 --- a/src/pk_rsa.c +++ b/src/pk_rsa.c @@ -3899,7 +3899,7 @@ int wolfSSL_RSA_GenAdd(WOLFSSL_RSA* rsa) } } - mp_clear(t); + mp_forcezero(t); #ifdef WOLFSSL_SMALL_STACK if (rsa != NULL) {