zero pad DHE public key in ServerKeyExchange message for interop
authorrussor <russor@whatsapp.com>
Mon, 25 Jul 2016 20:11:28 +0000 (13:11 -0700)
committerRich Salz <rsalz@openssl.org>
Wed, 14 Dec 2016 17:52:44 +0000 (12:52 -0500)
commit5bbedd3cc1d380595a6cc459e6546bb649f16a0b
tree15f64dd99e9b683d0fd91e0b8c1a0426325bef45
parent70705b291cbc496f1d70e4429cc54018e8113f08
zero pad DHE public key in ServerKeyExchange message for interop

Some versions of the Microsoft TLS stack have problems when the DHE public key
is encoded with fewer bytes than the DHE prime. (Backported from master)

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1350)
ssl/s3_srvr.c