This commit is contained in:
JustArchi
2019-07-25 17:12:36 +02:00
parent 4d51bc2c8d
commit c0e6b9f12b

View File

@@ -2991,7 +2991,7 @@ namespace ArchiSteamFarm {
if (i >= steamParentalCode.Length) {
IEnumerable<byte> passwordHash = ArchiCryptoHelper.GenerateSteamParentalHash(password, settings.salt, (byte) settings.passwordhash.Length, steamParentalAlgorithm);
if (passwordHash.SequenceEqual(settings.passwordhash)) {
if (passwordHash?.SequenceEqual(settings.passwordhash) == true) {
return (true, steamParentalCode);
}
}