diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2020-11-27 01:59:58 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-27 01:59:58 -0500 |
| commit | 9169a28df195b999c3813f842780dd7763bbcc9f (patch) | |
| tree | b64a9107b52c1bb3017be11da760f36d3aca113b /Emby.Server.Implementations/Updates/InstallationManager.cs | |
| parent | 536ac4c11cfff5349b973892f206fe5cfb0ae6f0 (diff) | |
| parent | 38932fc7d1c6851b6a282e9723bea471ef494b96 (diff) | |
Merge pull request #4588 from jellyfin/hex
Remove Hex class as the BCL has one now
Diffstat (limited to 'Emby.Server.Implementations/Updates/InstallationManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Updates/InstallationManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Updates/InstallationManager.cs b/Emby.Server.Implementations/Updates/InstallationManager.cs index f2c096b8a..ef346dd5d 100644 --- a/Emby.Server.Implementations/Updates/InstallationManager.cs +++ b/Emby.Server.Implementations/Updates/InstallationManager.cs @@ -414,7 +414,7 @@ namespace Emby.Server.Implementations.Updates using var md5 = MD5.Create(); cancellationToken.ThrowIfCancellationRequested(); - var hash = Hex.Encode(md5.ComputeHash(stream)); + var hash = Convert.ToHexString(md5.ComputeHash(stream)); if (!string.Equals(package.Checksum, hash, StringComparison.OrdinalIgnoreCase)) { _logger.LogError( |
