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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user