fixed bug in caps hash generation. thanks Asterix of the Gajim project

This commit is contained in:
iNPUTmice 2014-08-14 13:41:20 +02:00
parent 510d8a2ae3
commit e73a6525c7

View file

@ -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();
}
}