Commit 2e83abf
authored
Fix potential memory leak in RSAPSS (#1186)
When creating a new context with ICC_EVP_MD_CTX_new potential failures
can occur. In the case that this API fails we should release the entire
ockDigest structure upon failure.
Fixes: #1138
Back-ported from: #1169
Signed-off-by: Jason Katonica <katonica@us.ibm.com>1 parent 0c52ff7 commit 2e83abf
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
548 | 548 | | |
549 | 549 | | |
550 | 550 | | |
| 551 | + | |
551 | 552 | | |
552 | 553 | | |
553 | 554 | | |
| |||
0 commit comments