fixed bug in caps hash generation. thanks Asterix of the Gajim project
This commit is contained in:
parent
510d8a2ae3
commit
e73a6525c7
|
@ -46,6 +46,6 @@ public abstract class AbstractGenerator {
|
|||
s.append(feature+"<");
|
||||
}
|
||||
byte[] sha1 = md.digest(s.toString().getBytes());
|
||||
return new String(Base64.encode(sha1, Base64.DEFAULT));
|
||||
return new String(Base64.encode(sha1, Base64.DEFAULT)).trim();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue