commit | 8de5415b85512da871d58d1e9a0a33bd67f3b570 | [log] [tgz] |
---|---|---|
author | Remi Gacogne <rgacogne[at]aquaray[dot]fr> | Tue Jul 15 11:36:40 2014 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jul 15 16:07:05 2014 +0200 |
tree | 43d8e66e1774b659e7f850bbc1c269622b4079ea | |
parent | e63a1eb290a1c407453dbcaa16535c85a1904f9e [diff] |
BUG/MEDIUM: ssl: Fix a memory leak in DHE key exchange OpenSSL does not free the DH * value returned by the callback specified with SSL_CTX_set_tmp_dh_callback(), leading to a memory leak for SSL/TLS connections using Diffie Hellman Ephemeral key exchange. This patch fixes the leak by allocating the DH * structs holding the DH parameters once, at configuration time. Note: this fix must be backported to 1.5.