Skip to content
Snippets Groups Projects
Commit 988c3e4b authored by akwizgran's avatar akwizgran
Browse files

Merge branch '768-keyagreementconnector-regression-unsupportedoperationexception' into 'master'

Fix KeyAgreement after regression

Closes #768

See merge request !427
parents 4eec29a6 b0098fb0
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ import org.briarproject.api.keyagreement.PayloadParser;
import org.briarproject.api.keyagreement.TransportDescriptor;
import org.briarproject.api.nullsafety.NotNullByDefault;
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.IOException;
......@@ -60,7 +60,7 @@ class PayloadParserImpl implements PayloadParser {
TransportId id = BluetoothConstants.ID;
recognised.add(new TransportDescriptor(id, descriptor));
} else if (transportId == TRANSPORT_ID_LAN) {
TransportId id = TorConstants.ID;
TransportId id = LanTcpConstants.ID;
recognised.add(new TransportDescriptor(id, descriptor));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment