]> granicus.if.org Git - apache/commit
* mod_ssl: fix small memory leak in ssl_init_server_certs when ECDH is used.
authorJan Kaluža <jkaluza@apache.org>
Fri, 13 Mar 2015 07:32:46 +0000 (07:32 +0000)
committerJan Kaluža <jkaluza@apache.org>
Fri, 13 Mar 2015 07:32:46 +0000 (07:32 +0000)
commit2c379ac463c3a815b417c3524142722c72bd22f7
tree984eab9adde6394be08303f9cf849eb19acb0e03
parent71e93ff17b9464e5bfc275c76190b4efc9640b0c
* 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.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1666363 13f79535-47bb-0310-9956-ffa450edef68
modules/ssl/ssl_engine_init.c