Fix SSU2 enable logic

This commit is contained in:
zzz
2022-02-24 14:42:33 -05:00
parent da887f7c6c
commit 140ab47354

View File

@ -260,7 +260,7 @@ public class TransportManager implements TransportEventListener {
Transport udp = null;
if (_enableUDP) {
X25519KeyFactory xdh = _context.getBooleanProperty(PROP_ENABLE_SSU2) ? _xdhThread : null;
udp = new UDPTransport(_context, _dhThread, _xdhThread);
udp = new UDPTransport(_context, _dhThread, xdh);
addTransport(udp);
initializeAddress(udp);
}