* Hand out the same DH structure in ssl_callback_TmpDH set by
authorRuediger Pluem <rpluem@apache.org>
Sat, 24 May 2014 20:28:56 +0000 (20:28 +0000)
committerRuediger Pluem <rpluem@apache.org>
Sat, 24 May 2014 20:28:56 +0000 (20:28 +0000)
commit3adb3b8bf354ccdbcc2c8327b8c38ad795206932
tree075945bec25721c1791e7fbf5b3f7376581ae1da
parent95e5bb2a99efa005fbde703768d45aa0f276af56
* Hand out the same DH structure in ssl_callback_TmpDH set by
  SSL_CTX_set_tmp_dh_callback though once generated as we leak
  memory otherwise and freeing the structure up after use would be
  hard to track and in fact is not needed at all as it is safe to
  use the same parameters over and over again security wise (in
  contrast to the keys itself) and code safe as the returned structure
  is duplicated by OpenSSL anyway. Hence no modification happens
  to our copy.

Observed by: rjung
Reviewed by: kbrand

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