]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
* Restore SSL dumping for OpenSSL >= 3.0.
authorRuediger Pluem <rpluem@apache.org>
Wed, 3 Jul 2024 14:37:10 +0000 (14:37 +0000)
committerRuediger Pluem <rpluem@apache.org>
Wed, 3 Jul 2024 14:37:10 +0000 (14:37 +0000)
commitf49a28d75d4d726d356261e2cecf21a673d86ea9
tree4ca3c0cb68d8048078df1bb5f33d802531c08544
parentfbe782e6c4a7c255790b80c74d5b8ee320ec93d2
* Restore SSL dumping for OpenSSL >= 3.0.

  Since r1908537 BIO_set_callback_ex is used with OpenSSL >= 3.0 instead of
  BIO_set_callback to set the BIO callback. The meaning of parameters and
  their range of values in the callback function set by BIO_set_callback_ex
  has changed compared to the callback function set by BIO_set_callback
  although parameters kept their names. Accommodate for this and adjust the
  code accordingly.
  Furthermore limit the size of dumps to APR_UINT16_MAX bytes. Given the length
  of SSL records of 16k this should not have practical implications.

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