Clean premaster_secret for GOST
authorMatt Caswell <matt@openssl.org>
Thu, 4 Jun 2015 10:16:16 +0000 (11:16 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 4 Jun 2015 10:20:51 +0000 (11:20 +0100)
commitb7ee4815f2452c854cc859e8dda88f2673cdddea
tree204c0f80f81663e5cfddaf5c261000afc3865390
parentc56353071d9849220714d8a556806703771b9269
Clean premaster_secret for GOST

Ensure OPENSSL_cleanse() is called on the premaster secret value calculated for GOST.

With thanks to the Open Crypto Audit Project for reporting this issue.

Reviewed-by: Rich Salz <rsalz@openssl.org>
ssl/s3_srvr.c