mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-06-09 15:46:42 +00:00
Fix reading empty partial body part (again)
Broken in 5dcaf85.
This commit is contained in:
parent
5dcaf85f5a
commit
cd6eadd6e0
@ -235,7 +235,7 @@ export default {
|
||||
8) | await reader.readByte();
|
||||
}
|
||||
}
|
||||
if (packet_length >= 0) {
|
||||
if (packet_length > 0) {
|
||||
let bytesRead = 0;
|
||||
while (true) {
|
||||
if (writer) await writer.ready;
|
||||
|
Loading…
x
Reference in New Issue
Block a user