cf_enable_openssl="yes"
encryption="enabled"
AC_DEFINE(HAVE_ENCRYPTION_ON)
- ENCRYPT_SRC="rc4.c dh.c"
+ ENCRYPT_SRC="rc4.c dh.c libcrypto-compat.c"
AC_SUBST(ENCRYPT_SRC)
else
AC_MSG_RESULT(not found. Please check your path.)
#ifndef LIBCRYPTO_COMPAT_H
#define LIBCRYPTO_COMPAT_H
+#include <struct.h>
#ifdef USE_SSL
#if OPENSSL_VERSION_NUMBER < 0x10100000L
#include <openssl/pem.h>
#include <openssl/ssl.h>
#include <openssl/err.h>
-#include "libcrypto-compat.h"
#endif
#define REPORT_DO_DNS_ ":%s NOTICE AUTH :*** Looking up your hostname..."
SOURCES = blalloc.c bsd.c channel.c clientlist.c clones.c confparse.c \
fdlist.c fds.c hash.c hide.c inet_addr.c ircd.c \
- klines.c libcrypto-compat.c list.c m_nick.c m_rwho.c m_server.c m_services.c \
+ klines.c list.c m_nick.c m_rwho.c m_server.c m_services.c \
m_stats.c m_who.c match.c memcount.c modules.c packet.c parse.c pcre.c \
probability.c res.c s_auth.c s_bsd.c s_conf.c s_debug.c s_err.c \
s_misc.c s_numeric.c s_serv.c s_user.c sbuf.c scache.c send.c \
#include "hooks.h"
#include "fds.h"
#include "memcount.h"
-#include "libcrypto-compat.h"
#include "spamfilter.h"
aMotd *motd;
* https://www.openssl.org/source/license.html
*/
-#ifdef USE_SSL
-
#include "struct.h"
+#ifdef USE_SSL
#if OPENSSL_VERSION_NUMBER < 0x10100000L