diff options
-rw-r--r-- | openpgp/src/fingerprint.rs | 3 | ||||
-rw-r--r-- | openpgp/src/keyid.rs | 6 |
2 files changed, 4 insertions, 5 deletions
diff --git a/openpgp/src/fingerprint.rs b/openpgp/src/fingerprint.rs index a88dafdd..7ed623d1 100644 --- a/openpgp/src/fingerprint.rs +++ b/openpgp/src/fingerprint.rs @@ -15,8 +15,7 @@ pub enum Fingerprint { /// 20 byte SHA-1 hash. V4([u8;20]), /// Used for holding fingerprints that we don't understand. For - /// instance, we don't grok v3 fingerprints. And, it is possible - /// that the Issuer subpacket contains the wrong number of bytes. + /// instance, we don't grok v3 fingerprints. Invalid(Box<[u8]>) } diff --git a/openpgp/src/keyid.rs b/openpgp/src/keyid.rs index 6d8e739f..f823299b 100644 --- a/openpgp/src/keyid.rs +++ b/openpgp/src/keyid.rs @@ -18,9 +18,9 @@ use crate::Result; pub enum KeyID { /// Lower 8 byte SHA-1 hash. V4([u8;8]), - /// Used for holding fingerprints that we don't understand. For - /// instance, we don't grok v3 fingerprints. And, it is possible - /// that the Issuer subpacket contains the wrong number of bytes. + /// Used for holding keyids that we don't understand. For + /// instance, we don't grok v3 keyids. And, it is possible that + /// the Issuer subpacket contains the wrong number of bytes. Invalid(Box<[u8]>) } |