NagiosEnterprises / nrpe

NRPE Agent
GNU General Public License v2.0
257 stars 133 forks source link

Fix compiling with OpenSSL below 3.0 #262

Closed dougnazar closed 2 years ago

dougnazar commented 2 years ago

dhparam's dh.h doesn't include openssl/dh.h so moving the common.h file below causes compile errors. Move compat settings into common.h instead.

I don't have an OpenSSL 3.0 setup to test this on but it looks straight forward.

dougnazar commented 2 years ago

I've now compile tested against an OpenSSL 3 docker image.