alanxz / rabbitmq-c

RabbitMQ C client
MIT License
1.76k stars 669 forks source link

Conditionally enable SSL ENGINE APIs when available #805

Closed alanxz closed 9 months ago

alanxz commented 9 months ago

Conditionally enable ssl_socket methods that use the deprecated OpenSSL ENGINE APIs. The APIs are enabled when the OpenSSL being compiled against has the ENGINE APIs enabled. In addition these APIs can be disabled by passing -DENABLE_SSL_ENGINE_API=OFF to CMake at build-time.

Fixed: alanxz/rabbitmq-c#795 Fixed: alanxz/rabbitmq-c#713

Signed-off-by: GitHub noreply@github.com