Clean password buffer on stack for PEM_read_bio_PrivateKey
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Sat, 29 Jul 2017 10:19:29 +0000 (12:19 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Sat, 29 Jul 2017 12:55:30 +0000 (14:55 +0200)
commit02fd47c8b0930dff9b188fd13bfb9da5e59444a8
tree589942a5f110ec6c756d894836f0543107eb54ee
parent03883e7e168b0f5ef52a516eeb86346b767e0298
Clean password buffer on stack for PEM_read_bio_PrivateKey
and d2i_PKCS8PrivateKey_bio before it goes out of scope.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4047)
crypto/pem/pem_pk8.c
crypto/pem/pem_pkey.c