summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-10 21:31:34 (GMT)
committerBrad King <brad.king@kitware.com>2016-11-10 21:41:45 (GMT)
commit60939702e1071385ada5d1082b88763cbd1bab56 (patch)
tree85c0cb24edbbd19bd300a17bbac05c42107efc8e /Source/cmFileCommand.cxx
parent92f95aede99c76af2ccff09d5b9cc895539332d0 (diff)
downloadCMake-60939702e1071385ada5d1082b88763cbd1bab56.zip
CMake-60939702e1071385ada5d1082b88763cbd1bab56.tar.gz
CMake-60939702e1071385ada5d1082b88763cbd1bab56.tar.bz2
file: Add support for SHA-3 algorithms
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r--Source/cmFileCommand.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index 15257fc..c2e37c1 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -111,7 +111,9 @@ bool cmFileCommand::InitialPass(std::vector<std::string> const& args,
}
if (subCommand == "MD5" || subCommand == "SHA1" || subCommand == "SHA224" ||
subCommand == "SHA256" || subCommand == "SHA384" ||
- subCommand == "SHA512") {
+ subCommand == "SHA512" || subCommand == "SHA3_224" ||
+ subCommand == "SHA3_256" || subCommand == "SHA3_384" ||
+ subCommand == "SHA3_512") {
return this->HandleHashCommand(args);
}
if (subCommand == "STRINGS") {