summaryrefslogtreecommitdiffstats
path: root/Source/cmStringCommand.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:40:43 (GMT)
commit92f95aede99c76af2ccff09d5b9cc895539332d0 (patch)
tree5e4e5c34a11b94d71681781a7bd5b537f3c7e15a /Source/cmStringCommand.cxx
parentc326209fa351ca236778c462bcb0b85f6fa392f7 (diff)
downloadCMake-92f95aede99c76af2ccff09d5b9cc895539332d0.zip
CMake-92f95aede99c76af2ccff09d5b9cc895539332d0.tar.gz
CMake-92f95aede99c76af2ccff09d5b9cc895539332d0.tar.bz2
string: Add support for SHA-3 algorithms
Diffstat (limited to 'Source/cmStringCommand.cxx')
-rw-r--r--Source/cmStringCommand.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmStringCommand.cxx b/Source/cmStringCommand.cxx
index f835445..603c990 100644
--- a/Source/cmStringCommand.cxx
+++ b/Source/cmStringCommand.cxx
@@ -36,7 +36,9 @@ bool cmStringCommand::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 == "TOLOWER") {