aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2022-07-18 13:06:51 -0400
committerCameron Katri <me@cameronkatri.com>2022-07-18 13:06:51 -0400
commit28eb2be0ee386b8a6bd08d3ccb7cb5ef1bacd3ae (patch)
tree97d5966bdb2c01c71a3b90757b10edddb6a0ef75
parentd0f2a8d014cab94df4577ef2de1b34d2b91660a2 (diff)
downloadldid-28eb2be0ee386b8a6bd08d3ccb7cb5ef1bacd3ae.tar.gz
ldid-28eb2be0ee386b8a6bd08d3ccb7cb5ef1bacd3ae.tar.zst
ldid-28eb2be0ee386b8a6bd08d3ccb7cb5ef1bacd3ae.zip
Fix CDHash in -h
-rw-r--r--ldid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldid.cpp b/ldid.cpp
index 0bca612..1703da0 100644
--- a/ldid.cpp
+++ b/ldid.cpp
@@ -3627,7 +3627,7 @@ int main(int argc, char *argv[]) {
}
printf("Hash choices=%s\n", choices.c_str() + 1);
- printf("CDHash=%s\n", best->second.hash_.c_str());
+ printf("CDHash=%.40s\n", best->second.hash_.c_str());
if (cmsBegin != 0 && cmsEnd != 0) {
// This loads the CMS blob and parses each X509 cert in the blob to extract the