]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
* 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)
commit8f1a8d3466214074f12cdf52b05add5d00715ebd
tree075945bec25721c1791e7fbf5b3f7376581ae1da
parent5d1c5b37a19e4a9db30c624348d56f85a2211b6e
* 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