Skip to content

Commit 3ff051f

Browse files
julek-wolfssldgarske
authored andcommitted
Use secure wipe for RSA temporary
F-718
1 parent 0d7ef87 commit 3ff051f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pk_rsa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3899,7 +3899,7 @@ int wolfSSL_RSA_GenAdd(WOLFSSL_RSA* rsa)
38993899
}
39003900
}
39013901

3902-
mp_clear(t);
3902+
mp_forcezero(t);
39033903

39043904
#ifdef WOLFSSL_SMALL_STACK
39053905
if (rsa != NULL) {

0 commit comments

Comments
 (0)