]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
(test_weak): Don't check the deleted status attribute.
authorNiels Möller <nisse@lysator.liu.se>
Mon, 5 Jul 2010 19:55:10 +0000 (21:55 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Mon, 5 Jul 2010 19:55:10 +0000 (21:55 +0200)
Rev: nettle/testsuite/des-test.c:1.3

testsuite/des-test.c

index 0a8be7d153fff61c57861b27de167e236fb5374c..244e5aa2c0435fc7a420f8c4b1589f7f36aa72f6 100644 (file)
@@ -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();
 }