diff options
Diffstat (limited to 'zenserver/projectstore.cpp')
| -rw-r--r-- | zenserver/projectstore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zenserver/projectstore.cpp b/zenserver/projectstore.cpp index 1785aad9e..33d008f3e 100644 --- a/zenserver/projectstore.cpp +++ b/zenserver/projectstore.cpp @@ -1336,7 +1336,7 @@ HttpProjectService::HttpProjectService(CasStore& Store, ProjectStore* Projects) if (std::string_view SaltParam = Params.GetValue("salt"); SaltParam.empty() == false) { const uint32_t Salt = std::stoi(std::string(SaltParam)); - SaltHash = IoHash::HashMemory(&Salt, sizeof Salt); + SaltHash = IoHash::HashBuffer(&Salt, sizeof Salt); IsUsingSalt = true; } @@ -1364,7 +1364,7 @@ HttpProjectService::HttpProjectService(CasStore& Store, ProjectStore* Projects) if (IsUsingSalt) { IoHash AttachmentSpec[]{SaltHash, Hash}; - AttachmentId = IoHash::HashMemory(MakeMemoryView(AttachmentSpec)); + AttachmentId = IoHash::HashBuffer(MakeMemoryView(AttachmentSpec)); } else { |