summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--engines/e_afalg.c2
-rw-r--r--test/afalgtest.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/e_afalg.c b/engines/e_afalg.c
index e6fa5472d3..2f5ee4ccba 100644
--- a/engines/e_afalg.c
+++ b/engines/e_afalg.c
@@ -24,7 +24,7 @@
#define K_MAJ 4
#define K_MIN1 1
#define K_MIN2 0
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(K_MAJ, K_MIN1, K_MIN2) || \
+#if LINUX_VERSION_CODE < KERNEL_VERSION(K_MAJ, K_MIN1, K_MIN2) || \
!defined(AF_ALG)
# ifndef PEDANTIC
# warning "AFALG ENGINE requires Kernel Headers >= 4.1.0"
diff --git a/test/afalgtest.c b/test/afalgtest.c
index 62dcdb2277..18025ab92a 100644
--- a/test/afalgtest.c
+++ b/test/afalgtest.c
@@ -29,7 +29,7 @@ static ENGINE *e;
# define K_MAJ 4
# define K_MIN1 1
# define K_MIN2 0
-# if LINUX_VERSION_CODE <= KERNEL_VERSION(K_MAJ, K_MIN1, K_MIN2)
+# if LINUX_VERSION_CODE < KERNEL_VERSION(K_MAJ, K_MIN1, K_MIN2)
/*
* If we get here then it looks like there is a mismatch between the linux
* headers and the actual kernel version, so we have tried to compile with