Forced another sha1
This commit is contained in:
@@ -257,11 +257,12 @@ public sealed class FileCacheManager : IHostedService
|
|||||||
brokenEntities.Add(fileCache);
|
brokenEntities.Add(fileCache);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var algo = Crypto.DetectAlgo(fileCache.Hash);
|
var algo = Crypto.DetectAlgo(fileCache.Hash);
|
||||||
string computedHash;
|
string computedHash;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
computedHash = await Crypto.ComputeFileHashAsync(fileCache.ResolvedFilepath, algo, token).ConfigureAwait(false);
|
computedHash = await Crypto.ComputeFileHashAsync(fileCache.ResolvedFilepath, Crypto.HashAlgo.Sha1, token).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user