mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-18 21:59:54 +01:00
Merge branch '768-keyagreementconnector-regression-unsupportedoperationexception' into 'master'
Fix KeyAgreement after regression Closes #768 See merge request !427
This commit is contained in:
@@ -10,7 +10,7 @@ import org.briarproject.api.keyagreement.PayloadParser;
|
|||||||
import org.briarproject.api.keyagreement.TransportDescriptor;
|
import org.briarproject.api.keyagreement.TransportDescriptor;
|
||||||
import org.briarproject.api.nullsafety.NotNullByDefault;
|
import org.briarproject.api.nullsafety.NotNullByDefault;
|
||||||
import org.briarproject.api.plugins.BluetoothConstants;
|
import org.briarproject.api.plugins.BluetoothConstants;
|
||||||
import org.briarproject.api.plugins.TorConstants;
|
import org.briarproject.api.plugins.LanTcpConstants;
|
||||||
|
|
||||||
import java.io.ByteArrayInputStream;
|
import java.io.ByteArrayInputStream;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
@@ -60,7 +60,7 @@ class PayloadParserImpl implements PayloadParser {
|
|||||||
TransportId id = BluetoothConstants.ID;
|
TransportId id = BluetoothConstants.ID;
|
||||||
recognised.add(new TransportDescriptor(id, descriptor));
|
recognised.add(new TransportDescriptor(id, descriptor));
|
||||||
} else if (transportId == TRANSPORT_ID_LAN) {
|
} else if (transportId == TRANSPORT_ID_LAN) {
|
||||||
TransportId id = TorConstants.ID;
|
TransportId id = LanTcpConstants.ID;
|
||||||
recognised.add(new TransportDescriptor(id, descriptor));
|
recognised.add(new TransportDescriptor(id, descriptor));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user