Skip to content

Commit

Permalink
fixed call of wrong hashing method (SHA2) by direct invocation of pop…
Browse files Browse the repository at this point in the history
…up-menu items for SHA3 hashes;

closes #336
  • Loading branch information
sebres committed Dec 18, 2024
1 parent 4c42558 commit 318e40b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CPP/7zip/UI/Explorer/ContextMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,9 @@ static const CHashCommand g_HashCommands[] =
{ CZipContextMenu::kHash_SHA512, "SHA2-512", "SHA512" },
{ CZipContextMenu::kHash_BLAKE2sp, "BLAKE2sp", "BLAKE2sp" },
{ CZipContextMenu::kHash_BLAKE3, "BLAKE3", "BLAKE3" },
{ CZipContextMenu::kHash_SHA256, "SHA3-256", "SHA3-256" },
{ CZipContextMenu::kHash_SHA384, "SHA3-384", "SHA3-384" },
{ CZipContextMenu::kHash_SHA512, "SHA3-512", "SHA3-512" },
{ CZipContextMenu::kHash_SHA3_256, "SHA3-256", "SHA3-256" },
{ CZipContextMenu::kHash_SHA3_384, "SHA3-384", "SHA3-384" },
{ CZipContextMenu::kHash_SHA3_512, "SHA3-512", "SHA3-512" },
{ CZipContextMenu::kHash_All, "*", "*" },
{ CZipContextMenu::kHash_Generate_SHA256, "SHA2-256 -> file.sha256", "SHA256" },
{ CZipContextMenu::kHash_TestArc, "Checksum : Test", "Hash" }
Expand Down

0 comments on commit 318e40b

Please sign in to comment.