Yanjiang Jin 0fae0c1e1d crypto: testmgr - fix !x==y confusion
"if (!ret == template[i].fail)" is confusing to compilers (gcc5):

crypto/testmgr.c: In function '__test_aead':
crypto/testmgr.c:531:12: warning: logical not is only applied to the
left hand side of comparison [-Wlogical-not-parentheses]
   if (!ret == template[i].fail) {
            ^

Let there be 'if (template[i].fail == !ret) '.

Signed-off-by: Yanjiang Jin <yanjiang.jin@windriver.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2016-08-09 18:47:19 +08:00
..
2016-07-01 23:45:11 +08:00
2016-07-18 17:35:38 +08:00
2016-07-18 17:35:39 +08:00
2016-07-18 17:35:40 +08:00
2016-07-18 17:35:39 +08:00
2016-07-18 17:35:44 +08:00
2016-07-18 17:35:42 +08:00
2016-07-18 17:35:40 +08:00