]> granicus.if.org Git - apache/commit
mod_ssl: fix small memory leak in ssl_init_server_certs when ECDH is used.
authorWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 27 May 2015 16:33:10 +0000 (16:33 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 27 May 2015 16:33:10 +0000 (16:33 +0000)
commitfb5c0d5f14fff02062d377241dd7fc44d0b2e809
tree7cd97d6b07509d73a79b9a242b592bcda9159cb6
parentb7641f8b21c8477b6f1afa97a396f63a9f69253a
mod_ssl: fix small memory leak in ssl_init_server_certs when ECDH is used.
SSL_CTX_set_tmp_ecdh increases reference count, so we have to call
EC_KEY_free, otherwise eckey will not be freed.

Backports: r1666363
Author: jkaluza
Reviewed by: rjung, ylavic, wrowe

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1682074 13f79535-47bb-0310-9956-ffa450edef68
STATUS
modules/ssl/ssl_engine_init.c