Browse Source

cmSystemTools: remove `ComputeStringMD5` method

No longer used.
Ben Boeckel 2 years ago
parent
commit
4d5198a986
2 changed files with 0 additions and 9 deletions
  1. 0 6
      Source/cmSystemTools.cxx
  2. 0 3
      Source/cmSystemTools.h

+ 0 - 6
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)

+ 0 - 3
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);