mirror of https://github.com/axmolengine/axmol.git
Remove unused [skip ci]
This commit is contained in:
parent
d8aa943ed9
commit
384fa1056f
|
@ -405,7 +405,7 @@ std::string getDataMD5Hash(const Data& data)
|
||||||
return computeDigest(std::string_view{(const char*)data.getBytes(), (size_t)data.getSize()}, "md5"sv);
|
return computeDigest(std::string_view{(const char*)data.getBytes(), (size_t)data.getSize()}, "md5"sv);
|
||||||
}
|
}
|
||||||
|
|
||||||
CC_DLL std::string computeDigest(std::string_view data, std::string_view algorithm)
|
std::string computeDigest(std::string_view data, std::string_view algorithm)
|
||||||
{
|
{
|
||||||
const EVP_MD* md = nullptr;
|
const EVP_MD* md = nullptr;
|
||||||
unsigned char mdValue[EVP_MAX_MD_SIZE] = {0};
|
unsigned char mdValue[EVP_MAX_MD_SIZE] = {0};
|
||||||
|
|
Loading…
Reference in New Issue