diff -ur cryptsetup-1.0.5/lib/setup.c cryptsetup-1.0.5.suicide/lib/setup.c --- cryptsetup-1.0.5/lib/setup.c 2007-05-02 16:44:06.000000000 +0200 +++ cryptsetup-1.0.5.suicide/lib/setup.c 2009-02-03 15:43:47.000000000 +0100 @@ -760,7 +760,7 @@ r = -EINVAL; goto out; } openedIndex = LUKS_open_any_key(device, password, passwordLen, &hdr, &mk, backend); - if(openedIndex < 0 || keyIndex == openedIndex) { + if(openedIndex < 0) { printf("No remaining key available with this passphrase.\n"); r = -EPERM; goto out; }