diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-09-03 17:02:44 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-09-03 17:02:44 +0200 |
commit | ddfedbe4eb3baf2e3751b82b7c86f2f8519a9467 (patch) | |
tree | eaa7c53128bafb167dc4fb1f1c2fcb1fd933e13a /openpgp | |
parent | 7b9035fac61467482de683f890eb3c9971e955db (diff) |
openpgp: Improve displaying unknown signature types.
- The signature type namespace is base 16.
Diffstat (limited to 'openpgp')
-rw-r--r-- | openpgp/src/constants.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/constants.rs b/openpgp/src/constants.rs index e948c922..6555f561 100644 --- a/openpgp/src/constants.rs +++ b/openpgp/src/constants.rs @@ -854,7 +854,7 @@ impl fmt::Display for SignatureType { SignatureType::Confirmation => f.write_str("Confirmation"), SignatureType::Unknown(u) => - f.write_fmt(format_args!("Unknown signature type {}", u)), + f.write_fmt(format_args!("Unknown signature type 0x{:x}", u)), } } } |