diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2023-08-08 01:15:05 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2023-08-08 17:22:16 (GMT) |
commit | 4d5198a986902588271307a3837f08999c139368 (patch) | |
tree | 83c2ac6e2e179f6689270fb2b34b0ce9ae657465 | |
parent | ec5f1c489a43456a97f849456e3c81b45bda05dd (diff) | |
download | CMake-4d5198a986902588271307a3837f08999c139368.zip CMake-4d5198a986902588271307a3837f08999c139368.tar.gz CMake-4d5198a986902588271307a3837f08999c139368.tar.bz2 |
cmSystemTools: remove `ComputeStringMD5` method
No longer used.
-rw-r--r-- | Source/cmSystemTools.cxx | 6 | ||||
-rw-r--r-- | Source/cmSystemTools.h | 3 |
2 files changed, 0 insertions, 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); |