Commit a82828b
committed
Zeroize RSA DER buffer in CTX_use_RSAPrivateKey before free
F-2145
wolfSSL_CTX_use_RSAPrivateKey staged the RSA private key DER (PKCS#1:
n, e, d, p, q, dP, dQ, qInv) in a heap buffer and freed it without
ForceZero. Zeroize before XFREE.1 parent fa3feb7 commit a82828b
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5365 | 5365 | | |
5366 | 5366 | | |
5367 | 5367 | | |
| 5368 | + | |
| 5369 | + | |
| 5370 | + | |
5368 | 5371 | | |
5369 | 5372 | | |
5370 | 5373 | | |
| |||
0 commit comments