Commit 6aa0ba4b authored by Richard Levitte's avatar Richard Levitte
Browse files

Fix a possible memleak



If there's a failure allocating md_data, the destination pctx will have
a shared pointer with the source EVP_MD_CTX, which will lead to problems
when either the source or the destination is freed.

Reviewed-by: default avatarStephen Henson <steve@openssl.org>
parent 4fa52141
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment