X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Fconf-ssl.h;h=af715af8c7c1b773680b63f14890663962467623;hb=e954b59d414fb32b89291514d0d690c9ebabba49;hp=22897ef51356aed7136a2a662398a9c44aa3254e;hpb=6f531a3c99ca267370b8f77cd3e51d751fb48826;p=ngircd-alex.git diff --git a/src/ngircd/conf-ssl.h b/src/ngircd/conf-ssl.h index 22897ef5..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 @@ -37,11 +41,12 @@ struct ConnSSL_State { void *cookie; /* pointer to server configuration structure (for outgoing connections), or NULL. */ #endif + char *fingerprint; }; #endif -bool ConnSSL_InitLibrary(void); +GLOBAL bool ConnSSL_InitLibrary PARAMS((void)); #endif /* conf_ssl_h */