aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpSignEncrypt.java3
m---------extern/openpgp-api-lib0
2 files changed, 1 insertions, 2 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 5151667ed..3c6c86338 100644
--- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpSignEncrypt.java
+++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpSignEncrypt.java
@@ -543,8 +543,7 @@ public class PgpSignEncrypt extends BaseOperation {
int length;
byte[] buffer = new byte[1 << 16];
while ((length = in.read(buffer)) > 0) {
- // pipe input stream directly into output stream, no changes to data
- mOutStream.write(buffer, 0, length);
+ // no output stream is written, no changed to original data!
signatureGenerator.update(buffer, 0, length);
diff --git a/extern/openpgp-api-lib b/extern/openpgp-api-lib
-Subproject f712a26ab68eb0f978722cfa69a7e9b5d05c80c
+Subproject 76d7b17f114ef180fdbe6852d8897e8b9a4bca8