confluentinc / librdkafka

The Apache Kafka C/C++ library
Other
7.36k stars 3.11k forks source link

Add missing include due to RAND_priv_bytes #4732

Open Cropi opened 1 month ago

Cropi commented 1 month ago

RAND_priv_bytes() requires including openssl/rand.h from the openssl library. Some compilers may not error out and treat it as a warning. In my case, on Fedora rawhide, the build is failing due to missing lib include.