STORE: Fix potential memory leak
authorRichard Levitte <levitte@openssl.org>
Wed, 26 Aug 2020 05:04:53 +0000 (07:04 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 3 Sep 2020 15:48:32 +0000 (17:48 +0200)
commit7a3068109568cefdb0d63be1d0c83251c621156e
treeed881ed3e0fef7881104ccda739c6a198e1414ad
parenta10847c427744fb7e7d29953dee130a52251c027
STORE: Fix potential memory leak

When closing an OSSL_STORE_CTX, also clear the passphrase data.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12587)
crypto/store/store_lib.c