]> git.ipfire.org Git - thirdparty/curl.git/commit
openssl: engine: remove double-free
authorDaniel Stenberg <daniel@haxx.se>
Tue, 27 Oct 2015 12:45:25 +0000 (13:45 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 27 Oct 2015 12:45:25 +0000 (13:45 +0100)
commit370ee919b37cc9a46c36428b2bb1527eae5db2bd
treec2e581baf0139ffa336371ad3db05487fb36add4
parente2f430c74a4d8f2b75f1ff19e3a97c2ad918580a
openssl: engine: remove double-free

After a successful call to SSL_CTX_use_PrivateKey(), we must not call
EVP_PKEY_free() on the key.

Reported-by: nased0
Closes #509
lib/vtls/openssl.c