Fix a memory leak in RSA_padding_add_PKCS1_OAEP_mgf1
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Fri, 23 Dec 2016 13:35:16 +0000 (14:35 +0100)
committerKurt Roeckx <kurt@roeckx.be>
Mon, 9 Jan 2017 21:33:47 +0000 (22:33 +0100)
commitdb2fed4443042db3e7921810d944cfd15d347d08
tree8b6abc4bbf2399b9fde0c34c3490b90aa605ef70
parent3dca6ca0df0facedabcc5d9733b304e507f796db
Fix a memory leak in RSA_padding_add_PKCS1_OAEP_mgf1

Signed-off-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Matt Caswell <matt@openssl.org>
GH: #2140
(cherry picked from commit c6d215e0d278fcd51ad474a3647b61e1b67290bb)
crypto/rsa/rsa_oaep.c