mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-04 16:25:05 -05:00
No output stream for detached signatures, makes no sense to pipe it through
This commit is contained in:
parent
1c4b8c193d
commit
a87a45aa9a
@ -543,8 +543,7 @@ public class PgpSignEncrypt extends BaseOperation {
|
|||||||
int length;
|
int length;
|
||||||
byte[] buffer = new byte[1 << 16];
|
byte[] buffer = new byte[1 << 16];
|
||||||
while ((length = in.read(buffer)) > 0) {
|
while ((length = in.read(buffer)) > 0) {
|
||||||
// pipe input stream directly into output stream, no changes to data
|
// no output stream is written, no changed to original data!
|
||||||
mOutStream.write(buffer, 0, length);
|
|
||||||
|
|
||||||
signatureGenerator.update(buffer, 0, length);
|
signatureGenerator.update(buffer, 0, length);
|
||||||
|
|
||||||
|
2
extern/openpgp-api-lib
vendored
2
extern/openpgp-api-lib
vendored
@ -1 +1 @@
|
|||||||
Subproject commit f712a26ab68eb0f978722cfa69a7e9b5d05c80ca
|
Subproject commit 76d7b17f114ef180fdbe6852d8897e8b9a4bca8b
|
Loading…
Reference in New Issue
Block a user