Commit 3942e7d9 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>
(cherry picked from commit 6aa8dab2)

Conflicts:
	crypto/dh/dh_ameth.c
parent 2679485e
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