Skip to content
Commit 8abeefec authored by Benjamin Kaduk's avatar Benjamin Kaduk
Browse files

Fix memory leak in DH_get_nid()



If q is non-NULL but p is indeed a safe prime, a modified copy
of p could be leaked.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4525)
parent 141e4709
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