X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fconf-ssl.h;fp=src%2Fngircd%2Fconf-ssl.h;h=af715af8c7c1b773680b63f14890663962467623;hp=c23737979a21e7043d1eed7ed488524b83742112;hb=7690716e4fa8ac3ae9b513f4adba685f9e2c0e1f;hpb=c97fb2e93e9c7d66b1ce70fa681a762d1f430521 diff --git a/src/ngircd/conf-ssl.h b/src/ngircd/conf-ssl.h index c2373797..af715af8 100644 --- a/src/ngircd/conf-ssl.h +++ b/src/ngircd/conf-ssl.h @@ -13,6 +13,10 @@ #ifdef HAVE_LIBSSL #define SSL_SUPPORT #include +#if OPENSSL_VERSION_NUMBER < 0x10100000L +#define OpenSSL_version SSLeay_version +#define OPENSSL_VERSION SSLEAY_VERSION +#endif #endif #ifdef HAVE_LIBGNUTLS #define SSL_SUPPORT