Skip to content

Commit

Permalink
Fix CDHash in -h
Browse files Browse the repository at this point in the history
  • Loading branch information
CRKatri committed Jul 18, 2022
1 parent d0f2a8d commit 28eb2be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ldid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 28eb2be

Please sign in to comment.