drop key encryption altogether for empty passphrase

This commit is contained in:
Vincent Breitmoser
2017-06-13 12:41:54 +02:00
parent 3057eaa813
commit dfdfd733f3
2 changed files with 8 additions and 6 deletions

View File

@@ -1192,8 +1192,6 @@ public class PgpKeyOperationTest {
Assert.assertTrue("key modification must succeed", result.success());
Assert.assertFalse("log must not contain a warning",
result.getLog().containsWarnings());
Assert.assertTrue("log must contain an empty passphrase retry notice",
result.getLog().containsType(LogType.MSG_MF_PASSPHRASE_EMPTY_RETRY));
modified = result.getRing();
}