diff options
| author | Phallacy <Dragoonmac@gmail.com> | 2019-02-18 10:56:01 -0800 |
|---|---|---|
| committer | Phallacy <Dragoonmac@gmail.com> | 2019-02-18 10:56:01 -0800 |
| commit | 56e306334201e06f2066e1e7ca1246508346bfa9 (patch) | |
| tree | 2c9a9f2e672fd39cca098efbf239c199f6915c1a /Emby.Server.Implementations/Cryptography | |
| parent | 48e7274d3783e57f89f6e1cc76fcd8696e987ec5 (diff) | |
little fixes for JustAMan
Diffstat (limited to 'Emby.Server.Implementations/Cryptography')
| -rw-r--r-- | Emby.Server.Implementations/Cryptography/CryptographyProvider.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Cryptography/CryptographyProvider.cs b/Emby.Server.Implementations/Cryptography/CryptographyProvider.cs index c4f034631..dc528c280 100644 --- a/Emby.Server.Implementations/Cryptography/CryptographyProvider.cs +++ b/Emby.Server.Implementations/Cryptography/CryptographyProvider.cs @@ -132,8 +132,7 @@ namespace Emby.Server.Implementations.Cryptography }
catch (Exception e)
{
- iterations = defaultiterations;
- throw new Exception($"Couldn't successfully parse iterations value from string:{hash.Parameters["iterations"]}", e);
+ throw new InvalidDataException($"Couldn't successfully parse iterations value from string: {hash.Parameters["iterations"]}", e);
}
}
return PBKDF2(hash.Id, hash.HashBytes, hash.SaltBytes, iterations);
|
