mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-27 14:32:06 +01:00
Fix AOoBE
This commit is contained in:
parent
20cca54ec2
commit
ddb1f11c5a
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
byte[] payload = new byte[element.getPayload().length + authTag.length];
|
||||||
System.arraycopy(element.getPayload(), 0, payload, 0, element.getPayload().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;
|
return payload;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue