TT#14008 update for kernels >= 5.12

closes #1199

Change-Id: I5a2015b8f232a1b6d26a5b1cb2ac85e5612a2710
pull/1224/head
Richard Fuchs 4 years ago
parent d14eeaea6e
commit 389f18ab45

@ -8,6 +8,9 @@
#include <linux/version.h> #include <linux/version.h>
#include <linux/err.h> #include <linux/err.h>
#include <linux/crypto.h> #include <linux/crypto.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,12,0)
#include <crypto/internal/cipher.h>
#endif
#include <crypto/aes.h> #include <crypto/aes.h>
#include <crypto/hash.h> #include <crypto/hash.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25) #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25)
@ -39,6 +42,9 @@
#include "rtpengine_config.h" #include "rtpengine_config.h"
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,12,0)
MODULE_IMPORT_NS(CRYPTO_INTERNAL);
#endif

Loading…
Cancel
Save