Opened 6 years ago

Last modified 4 years ago

#12826 new Patches

Disabled SSL compression results in compile failure

Reported by: ecprodev@… Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost 1.62.0 Severity: Problem
Keywords: 1 Cc: arachni@…

Description

When SSL compression is disabled and openssl version >= 1.0.2, < 1.1.0 is used, a compile failure results due to "SSL_COMP_free_compression_methods()" function not existing. An additional check needs to be added to ensure that compression is enabled. This is likely related to the patch for ticket #10795.

Compile error:

boost/asio/ssl/detail/impl/openssl_init.ipp: In destructor 'boost::asio::ssl::detail::openssl_init_base::do_init::~do_init()':
boost/asio/ssl/detail/impl/openssl_init.ipp:84:5: error: '::SSL_COMP_free_compression_methods' has not been declared

Attachments (1)

openssl_init.ipp.patch (699 bytes ) - added by ecprodev@… 6 years ago.
openssl_init.ipp patch

Download all attachments as: .zip

Change History (2)

by ecprodev@…, 6 years ago

Attachment: openssl_init.ipp.patch added

openssl_init.ipp patch

in reply to:  1 ; comment:1 by arachni_name <arachni@…>, 4 years ago

Cc: arachni@… added
Keywords: 1 added

1"'`--

Note: See TracTickets for help on using tickets.