e_afalg: Don't warn about kernel version when pedantic
authorRichard Levitte <levitte@openssl.org>
Fri, 16 Dec 2016 08:24:00 +0000 (09:24 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 16 Dec 2016 13:44:55 +0000 (14:44 +0100)
commit6c8e02af7e8d789d2b3dd6efe937b8c64784643f
treee7327796327ee516571be5df82c284beedd62177
parent5769b5421683293014ed91b292ea39915f5f1eff
e_afalg: Don't warn about kernel version when pedantic

When built with --strict-warnings and the Linux kernel headers don't
match the kernel version, the preprocessor warnings in
engines/afalg/e_afalg.c cause compilation errors.  Use the macro
PEDANTIC to avoid those warnings in that case.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2095)
(cherry picked from commit 97043e46aa7083c787a1efd72ac31ca97ed41610)
engines/afalg/e_afalg.c