pgpsignencrypt: unsupported parameter combinations are a bug

This commit is contained in:
Vincent Breitmoser committed 2015-10-08 18:36:16 +02:00
1 parent d6076a998c
commit e29f9017f7
3 files changed
+1 -5

No files matched your search

@@ -491,9 +491,7 @@ public class PgpSignEncryptOperation extends BaseOperation {
literalGen.close();
} else {
pOut = null;
// TODO: Is this log right?
log.add(LogType.MSG_PSE_CLEARSIGN_ONLY, indent);
throw new AssertionError("cannot clearsign in non-ascii armored text, this is a bug!");
}
if (enableSignature) {