Fix Dialyzer warning, old passwd tuple don't match current tuple definition

This commit is contained in:
Badlop 2021-11-17 16:50:14 +01:00
parent 689749a563
commit 15d3ebb842
1 changed files with 2 additions and 2 deletions

View File

@ -299,8 +299,8 @@ export(_Server) ->
["username=%(LUser)s",
"server_host=%(LServer)s",
"password=%(Password)s"])];
(Host, #passwd{us = {LUser, LServer},
password = {scram, StoredKey1, ServerKey, Salt, IterationCount}})
(Host, {passwd, {LUser, LServer},
{scram, StoredKey1, ServerKey, Salt, IterationCount}})
when LServer == Host ->
Hash = sha,
StoredKey = scram_hash_encode(Hash, StoredKey1),