Skip to content

Commit

Permalink
Transport: Ignore SSU1 enable config
Browse files Browse the repository at this point in the history
so we may begin to remove SSU1 code
  • Loading branch information
zzzi2p committed Jan 8, 2024
1 parent 23fa8b9 commit a0d8f5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ private void renderStatusHTML(Writer out, String urlBase, int sortFlags) throws
for (int idx = 0; idx < 8; idx += 4) {
if (style.equals("NTCP") && idx == 0)
continue;
if (style.equals("SSU") && idx == 0 && !_context.getBooleanProperty(TransportManager.PROP_ENABLE_SSU1))
if (style.equals("SSU") && idx == 0) // && !_context.getBooleanProperty(TransportManager.PROP_ENABLE_SSU1))
continue;
rows++;
buf.append("<tr><td align=\"center\"><b>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ private void removeTransport(Transport transport) {
private void configTransports() {
Transport udp = null;
if (_enableUDP) {
boolean enableSSU1 = _context.getBooleanProperty(PROP_ENABLE_SSU1);
boolean enableSSU1 = false; //_context.getBooleanProperty(PROP_ENABLE_SSU1);
boolean enableSSU2 = _context.getBooleanPropertyDefaultTrue(PROP_ENABLE_SSU2);
DHSessionKeyBuilder.PrecalcRunner dh = enableSSU1 ? _dhThread : null;
X25519KeyFactory xdh = enableSSU2 ? _xdhThread : null;
Expand Down

0 comments on commit a0d8f5f

Please sign in to comment.