Commit 87e5c62
committed
Zeroize EC DER buffer in i2d_ECPrivateKey error path
F-2147
The error path in wolfSSL_i2d_ECPrivateKey could free an EC private key
DER staging buffer that may contain a partial private scalar. Zeroize
before XFREE.1 parent 9925f90 commit 87e5c62
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3524 | 3524 | | |
3525 | 3525 | | |
3526 | 3526 | | |
| 3527 | + | |
| 3528 | + | |
| 3529 | + | |
3527 | 3530 | | |
3528 | 3531 | | |
3529 | 3532 | | |
| |||
0 commit comments