little fixes for JustAMan

This commit is contained in:
Phallacy 2019-02-18 10:56:01 -08:00
parent 48e7274d37
commit 56e3063342
1 changed files with 1 additions and 2 deletions

View File

@ -132,8 +132,7 @@ namespace Emby.Server.Implementations.Cryptography
} }
catch (Exception e) catch (Exception e)
{ {
iterations = defaultiterations; throw new InvalidDataException($"Couldn't successfully parse iterations value from string: {hash.Parameters["iterations"]}", e);
throw new Exception($"Couldn't successfully parse iterations value from string:{hash.Parameters["iterations"]}", e);
} }
} }
return PBKDF2(hash.Id, hash.HashBytes, hash.SaltBytes, iterations); return PBKDF2(hash.Id, hash.HashBytes, hash.SaltBytes, iterations);