diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-02-04 16:22:17 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-02-05 11:42:51 +0100 |
commit | 37831e50a7b0a88da65061f7baf6685effe81c3d (patch) | |
tree | 79608c6a9357939b08dffdba216cae727ff4f83a | |
parent | 7077ba631668057325da82f8fabcc3ba98628398 (diff) |
openpgp: Mark writer clean after writing the epilogue.
-rw-r--r-- | openpgp/src/armor.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openpgp/src/armor.rs b/openpgp/src/armor.rs index 7e26f198..dda4dedd 100644 --- a/openpgp/src/armor.rs +++ b/openpgp/src/armor.rs @@ -279,6 +279,7 @@ impl<W: Write> Writer<W> { base64::encode_config(&bytes, base64::STANDARD_NO_PAD), LINE_ENDING, self.kind.end(), LINE_ENDING)?; + self.dirty = false; Ok(()) } else { Err(Self::e_finalized()) |