summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2018-07-13 10:16:43 +0200
committerJustus Winter <justus@sequoia-pgp.org>2018-07-13 10:16:43 +0200
commita847f2f35b5d2bbe60edfbd3a44d053bc66cb876 (patch)
tree026b74189158602c249f8e38e38d42f6a3aeeb52
parent23d570338e252c715c5a24a1a81fbaf5c8eddcf7 (diff)
openpgp: Refine comment.
-rw-r--r--openpgp/src/serialize/stream.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/serialize/stream.rs b/openpgp/src/serialize/stream.rs
index b87b55e1..6cdb69ad 100644
--- a/openpgp/src/serialize/stream.rs
+++ b/openpgp/src/serialize/stream.rs
@@ -345,8 +345,8 @@ impl<'a> Signer<'a> {
let mut sig = Signature::new(SignatureType::Binary);
sig.set_signature_creation_time(time::now())?;
sig.set_issuer_fingerprint(key.fingerprint())?;
- // Some versions of GnuPG require the Issuer subpacket
- // to be present.
+ // GnuPG up to (and including) 2.2.8 requires the
+ // Issuer subpacket to be present.
sig.set_issuer(key.keyid())?;
// Compute the signature.