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:43:49 +0000 (14:43 +0100)
commit97043e46aa7083c787a1efd72ac31ca97ed41610
treeaa9b80dcfe886c77e4c8586db06ec2471407f9db
parentcd3fe0e09c97700005ed96c8113907cbdfc45edf
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)
engines/afalg/e_afalg.c