1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-05 19:55:59 +01:00

Fix AOoBE

This commit is contained in:
Paul Schaub 2018-01-05 18:33:34 +01:00
parent 20cca54ec2
commit ddb1f11c5a

View file

@ -184,7 +184,7 @@ public abstract class OmemoRatchet<T_IdKeyPair, T_IdKey, T_PreKey, T_SigPreKey,
byte[] payload = new byte[element.getPayload().length + authTag.length];
System.arraycopy(element.getPayload(), 0, payload, 0, element.getPayload().length);
System.arraycopy(authTag, 0, payload, payload.length, authTag.length);
System.arraycopy(authTag, 0, payload, element.getPayload().length, authTag.length);
return payload;
}