Make sure we free and cleanse the pms value in all code paths
authorMatt Caswell <matt@openssl.org>
Mon, 30 Jan 2017 19:36:51 +0000 (19:36 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 30 Jan 2017 22:58:53 +0000 (22:58 +0000)
commitc8ab3a46530029739272e14acbfc91a5feb291a7
tree7582b7d4acc55f5a0172b3a8ba95eb7157f468bd
parent787ebcafcd82daf5809ef308f8b6d6bbec17b354
Make sure we free and cleanse the pms value in all code paths

Otherwise we get a memory leak.

Reviewed-by: Kurt Roeckx <kurt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2326)
ssl/s3_lib.c