#include "socket.h"
#include "utils.h"
#include "log.h"
-#if USE_SSL
+#if USE_OPENSSL
# include "ssl.h"
#endif
const gchar *format,
...);
-#if USE_SSL
+#if USE_OPENSSL
NNTPSockInfo *nntp_open(const gchar *server, gushort port, gchar *buf,
SSLType ssl_type)
#else
return NULL;
}
-#if USE_SSL
+#if USE_OPENSSL
if (ssl_type == SSL_TUNNEL && !ssl_init_socket(sock)) {
sock_close(sock);
return NULL;
}
}
-#if USE_SSL
+#if USE_OPENSSL
NNTPSockInfo *nntp_open_auth(const gchar *server, gushort port, gchar *buf,
const gchar *userid, const gchar *passwd,
SSLType ssl_type)
{
NNTPSockInfo *sock;
-#if USE_SSL
+#if USE_OPENSSL
sock = nntp_open(server, port, buf, ssl_type);
#else
sock = nntp_open(server, port, buf);