From: Niels Möller Date: Mon, 5 Jul 2010 19:55:10 +0000 (+0200) Subject: (test_weak): Don't check the deleted status attribute. X-Git-Tag: camellia_32bit_20100720~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d126be374eb246f67e11369513d1d8f0b82f52c9;p=thirdparty%2Fnettle.git (test_weak): Don't check the deleted status attribute. Rev: nettle/testsuite/des-test.c:1.3 --- diff --git a/testsuite/des-test.c b/testsuite/des-test.c index 0a8be7d1..244e5aa2 100644 --- a/testsuite/des-test.c +++ b/testsuite/des-test.c @@ -53,8 +53,7 @@ test_weak(const uint8_t *key) { struct des_ctx ctx; - if (des_set_key(&ctx, key) - || (ctx.status != DES_WEAK_KEY)) + if (des_set_key(&ctx, key)) FAIL(); }