mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-19 22:29:53 +01:00
Minor refactoring.
This commit is contained in:
@@ -17,7 +17,7 @@ class NullConnectionDecrypter implements ConnectionDecrypter {
|
||||
return in;
|
||||
}
|
||||
|
||||
public void readMac(byte[] mac) throws IOException {
|
||||
public void readFinal(byte[] mac) throws IOException {
|
||||
int offset = 0;
|
||||
while(offset < mac.length) {
|
||||
int read = in.read(mac, offset, mac.length - offset);
|
||||
|
||||
Reference in New Issue
Block a user