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:56:13 +0000 (12:56 +0100)
commit4b6f33a5c284168ef3aa49d1a37cbcc6565bc0e5
tree3cedeb45d8b5914845934a8f09888809d43ec6dc
parentc36d3840ff45a290ea7fe6fbaf1520fe3124b3cd
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