Skip to content
Commit 6aa8dab2 authored by Matt Caswell's avatar Matt Caswell
Browse files

Fix dh_pub_encode



The return value from ASN1_STRING_new() was not being checked which could
lead to a NULL deref in the event of a malloc failure. Also fixed a mem
leak in the error path.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent 34a7ed0c
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