diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2018-08-13 13:16:45 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2018-08-13 13:16:45 +0200 |
commit | 92e5554c7754798e0b40e9439b3c3bc77d938e44 (patch) | |
tree | bb61d3e2b75eeabf8c66a3727141b2177f2a1ba5 /openpgp/src/keyid.rs | |
parent | 5c7a36ec4881c133ebeac3ac912eaf11638070e1 (diff) |
openpgp: Move hex conversion functions, add tests.
Diffstat (limited to 'openpgp/src/keyid.rs')
-rw-r--r-- | openpgp/src/keyid.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/keyid.rs b/openpgp/src/keyid.rs index e112779b..ae51d27e 100644 --- a/openpgp/src/keyid.rs +++ b/openpgp/src/keyid.rs @@ -57,7 +57,7 @@ impl KeyID { /// Reads a hex-encoded Key ID. pub fn from_hex(hex: &str) -> Option<KeyID> { - let bytes = ::from_hex(hex, true)?; + let bytes = ::conversions::from_hex(hex, true)?; // A KeyID is exactly 8 bytes long. if bytes.len() == 8 { |