confluentinc / librdkafka

The Apache Kafka C/C++ library
Other
293 stars 3.15k forks source link

use OPENSSL_NO_ENGINE from OpenSSL config #4911

Open remicollet opened 1 day ago

remicollet commented 1 day ago

This fixes build on distribution where deprecated ENGINE are removed (e.g. RHEL-10-beta)

rand.h is needed for RAND_priv_bytes (was previously included from engine.h)

engine.h may be missing (ex: RHEL-10-beta), or empty (CentOS Stream 10, so upcoming RHEL-10.0)

Tested on

confluent-cla-assistant[bot] commented 1 day ago

:tada: All Contributor License Agreements have been signed. Ready to merge.
:white_check_mark: remicollet
Please push an empty commit if you would like to re-run the checks to verify CLA status for all contributors.