From 28eb2be0ee386b8a6bd08d3ccb7cb5ef1bacd3ae Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Mon, 18 Jul 2022 13:06:51 -0400 Subject: Fix CDHash in -h --- ldid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-56-ge451