Add missing OPENSSL_clear_free before using ec->key
authorMansour Ahmadi <m.ahmadi@northeastern.edu>
Tue, 11 Dec 2018 21:18:21 +0000 (16:18 -0500)
committerMatt Caswell <matt@openssl.org>
Thu, 13 Dec 2018 10:04:57 +0000 (10:04 +0000)
commit4128136a28c3b7d3878daed728c49f18eb950adc
tree8eb623cdc2227cb050d5416da71cd77ab33ea8cc
parent55833a8de70589a5000044b6291e190f5a3826ae
Add missing OPENSSL_clear_free before using ec->key

Fixes #7657

Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7877)
crypto/cms/cms_pwri.c