#ifdef HAVE_LIBSSL
#define SSL_SUPPORT
#include <openssl/ssl.h>
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
+#define OpenSSL_version SSLeay_version
+#define OPENSSL_VERSION SSLEAY_VERSION
+#endif
#endif
#ifdef HAVE_LIBGNUTLS
#define SSL_SUPPORT
SSL *ssl;
#endif
#ifdef HAVE_LIBGNUTLS
- gnutls_session gnutls_session;
+ gnutls_session_t gnutls_session;
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 */