diff options
author | Neal H. Walfield <neal@pep.foundation> | 2018-07-11 11:00:27 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2018-07-11 11:00:27 +0200 |
commit | 5b311f141e87c813c2c031894fa07bc6a32da0c0 (patch) | |
tree | 4c0b19cba1dde50c90aad909166b0e99086a2c48 /openpgp/src | |
parent | eabb7e1d6aa8bfff8bc6826ef6f69197803c21ef (diff) |
openpgp: Fix spelling mistake in identifier.
Diffstat (limited to 'openpgp/src')
-rw-r--r-- | openpgp/src/constants.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openpgp/src/constants.rs b/openpgp/src/constants.rs index 05260d0b..c9260742 100644 --- a/openpgp/src/constants.rs +++ b/openpgp/src/constants.rs @@ -675,7 +675,7 @@ pub enum ReasonForRevocation { Unspecified, /// Key is superseded (key revocations) - KeySuperseeded, + KeySuperseded, /// Key material has been compromised (key revocations) KeyCompromised, @@ -698,7 +698,7 @@ impl From<u8> for ReasonForRevocation { use self::ReasonForRevocation::*; match u { 0 => Unspecified, - 1 => KeySuperseeded, + 1 => KeySuperseded, 2 => KeyCompromised, 3 => KeyRetired, 32 => UIDRetired, @@ -713,7 +713,7 @@ impl From<ReasonForRevocation> for u8 { use self::ReasonForRevocation::*; match r { Unspecified => 0, - KeySuperseeded => 1, + KeySuperseded => 1, KeyCompromised => 2, KeyRetired => 3, UIDRetired => 32, @@ -729,7 +729,7 @@ impl fmt::Display for ReasonForRevocation { match *self { Unspecified => f.write_str("No reason specified"), - KeySuperseeded => + KeySuperseded => f.write_str("Key is superseded"), KeyCompromised => f.write_str("Key material has been compromised"), |