aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpSignEncrypt.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpSignEncrypt.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpSignEncrypt.java
index 16b060c10..113eb2a9d 100644
--- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpSignEncrypt.java
+++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpSignEncrypt.java
@@ -487,6 +487,8 @@ public class PgpSignEncrypt {
InputStream in = mData.getInputStream();
if (mEnableAsciiArmorOutput) {
+ // TODO: this requires a ascii text, this is currently not checked
+ // mEnableAsciiArmorOutput does not mean that the input is ascii
final BufferedReader reader = new BufferedReader(new InputStreamReader(in));
String line;