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:58:00 +0000 (12:58 +0100)
commit470446db9a0861b01cba33dd42062ecc5734df53
tree73dcda4e896ad679e794c124bd7b64cb73694f07
parent91e64e142770bc13145346a5e89e9d95bc3e22dd
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