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 11:53:43 +0000 (12:53 +0100)
commitefd89aa9cc7ed1142be8a4baa49567170bc4626e
tree5223211d0dac69a853bf948d3b604c0bcb6161a9
parent4e3dbe37ca39fa68b6949fbde62f3ec0f0584f7e
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>
(cherry picked from commit b7ee4815f2452c854cc859e8dda88f2673cdddea)

Conflicts:
ssl/s3_srvr.c
ssl/s3_srvr.c