mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 09:09:38 +02:00
Bump JXMPP to 0.5.0
This commit is contained in:
parent
f633313c4a
commit
183c605278
8 changed files with 13 additions and 13 deletions
|
@ -160,7 +160,7 @@ public abstract class ScramMechanism extends SASLMechanism {
|
|||
// mechanisms.
|
||||
final String cacheKey = password + ',' + salt + ',' + getName();
|
||||
byte[] serverKey, clientKey;
|
||||
Keys keys = CACHE.get(cacheKey);
|
||||
Keys keys = CACHE.lookup(cacheKey);
|
||||
if (keys == null) {
|
||||
// SaltedPassword := Hi(Normalize(password), salt, i)
|
||||
byte[] saltedPassword = hi(saslPrep(password), Base64.decode(salt), iterations);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue