From 4d5198a986902588271307a3837f08999c139368 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Mon, 7 Aug 2023 21:15:05 -0400 Subject: cmSystemTools: remove `ComputeStringMD5` method No longer used. --- Source/cmSystemTools.cxx | 6 ------ Source/cmSystemTools.h | 3 --- 2 files changed, 9 deletions(-) diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index bf3fcd9..60164c3 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -1316,12 +1316,6 @@ std::string cmSystemTools::ComputeFileHash(const std::string& source, return hash.HashFile(source); } -std::string cmSystemTools::ComputeStringMD5(const std::string& input) -{ - cmCryptoHash md5(cmCryptoHash::AlgoMD5); - return md5.HashString(input); -} - # ifdef _WIN32 std::string cmSystemTools::ComputeCertificateThumbprint( const std::string& source) diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 27d788e..e8fa047 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -219,9 +219,6 @@ public: static std::string ComputeFileHash(const std::string& source, cmCryptoHash::Algo algo); - /** Compute the md5sum of a string. */ - static std::string ComputeStringMD5(const std::string& input); - # ifdef _WIN32 //! Get the SHA thumbprint for a certificate file static std::string ComputeCertificateThumbprint(const std::string& source); -- cgit v0.12