fixes missing hash_algo_name symbol
@ -4,6 +4,7 @@ KERNEL_DIR := ${MODULES_DIR}/build
obj-m += xt_ts3init.o
xt_ts3init-objs += ts3init_module.o ts3init_match.o ts3init_cookie.o ts3init_target.o ts3init_cache.o siphash24.o
ccflags-$(CONFIG_CRYPTO_HASH_INFO) += -DHAS_CRYPTO_HASH_INFO=1
all:
$(MAKE) -C ${KERNEL_DIR} M=$$PWD;
@ -26,7 +26,7 @@
#include "ts3init_random_seed.h"
#include "ts3init_cookie.h"
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
#ifndef HAS_CRYPTO_HASH_INFO
#define TS3_SHA_512_NAME "sha512"
#else
#include <crypto/hash_info.h>