afalg: Fix kernel version check
authorBaptiste Jonglez <git@bitsofnetworks.org>
Mon, 30 Oct 2017 10:38:09 +0000 (11:38 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 31 Oct 2017 10:19:47 +0000 (11:19 +0100)
commit3ba70235be29cc39df7d859df2894c9de2961019
tree6cf99039b3c64964a5a07e7cf73c1c84756c0640
parentbee9c8a4ffd3ec65bb56aaa04423c4f6f9c4012c
afalg: Fix kernel version check

The check should reject kernel versions < 4.1.0, not <= 4.1.0.

The issue was spotted on OpenSUSE 42.1 Leap, since its linux/version.h
header advertises 4.1.0.

CLA: trivial
Fixes: 7f458a48 ("ALG: Add AFALG engine")
Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4617)
engines/e_afalg.c
test/afalgtest.c