commit | 9807322a5e5ff98d980868165c6c1d3b1a6bd4fb | [log] [tgz] |
---|---|---|
author | Alice Wang <aliceywang@google.com> | Fri Sep 09 14:08:19 2022 +0000 |
committer | Alice Wang <aliceywang@google.com> | Fri Sep 09 14:10:19 2022 +0000 |
tree | 3f74533d191082291af131744c26c848587d7020 | |
parent | 25109dd9e56aa2cc0677c2403ea1361ae3c3cdf3 [diff] [blame] |
apkverify:Test apk digest computation Test: atest libapkverify.test Change-Id: I33ade0f39f28494f6a0f7ed0cb324466ed2ae495
diff --git a/libs/apkverify/src/v3.rs b/libs/apkverify/src/v3.rs index 7533b3b..876e98b 100644 --- a/libs/apkverify/src/v3.rs +++ b/libs/apkverify/src/v3.rs
@@ -299,7 +299,7 @@ } #[inline] -fn to_hex_string(buf: &[u8]) -> String { +pub(crate) fn to_hex_string(buf: &[u8]) -> String { buf.iter().map(|b| format!("{:02X}", b)).collect() }