Replace uses of HAVE_SSL with HAVE_LIBSSL

autoconf's AC_CHECK_LIB automatically sets HAVE_LIBSSL, whereas HAVE_SSL has to be set manually.

This prepares us to remove some code from configure.
This commit is contained in:
Kevin Easton
2017-03-17 00:07:38 +11:00
parent 1fbafddc59
commit 2fa0bf818a
8 changed files with 44 additions and 44 deletions

View File

@@ -157,7 +157,7 @@ typedef struct
#endif
char *orignick;
struct timeval connect_time;
#if defined(HAVE_SSL) && !defined(IN_MODULE)
#if defined(HAVE_LIBSSL) && !defined(IN_MODULE)
SSL_CTX* ctx;
int enable_ssl;
int ssl_error;
@@ -328,7 +328,7 @@ ChannelList *BX_get_server_channels (int);
int get_server_reconnect (int);
int get_server_reconnecting (int);
int get_server_change_pending (int);
#ifdef HAVE_SSL
#ifdef HAVE_LIBSSL
void set_server_ssl(int, int);
int get_server_ssl(int);
#endif