summaryrefslogtreecommitdiffstats
path: root/openpgp
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-09-03 17:02:44 +0200
committerJustus Winter <justus@sequoia-pgp.org>2019-09-03 17:02:44 +0200
commitddfedbe4eb3baf2e3751b82b7c86f2f8519a9467 (patch)
treeeaa7c53128bafb167dc4fb1f1c2fcb1fd933e13a /openpgp
parent7b9035fac61467482de683f890eb3c9971e955db (diff)
openpgp: Improve displaying unknown signature types.
- The signature type namespace is base 16.
Diffstat (limited to 'openpgp')
-rw-r--r--openpgp/src/constants.rs2
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)),
}
}
}