I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 702830ad authored by zzz's avatar zzz
Browse files

Reseed: SSL only by default

parent 6ca0c54b
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ public class ConfigReseedHelper extends HelperBase {
}
public String modeChecked(int mode) {
boolean required = _context.getBooleanProperty(Reseeder.PROP_SSL_REQUIRED);
boolean required = _context.getBooleanPropertyDefaultTrue(Reseeder.PROP_SSL_REQUIRED);
boolean disabled = _context.getBooleanProperty(Reseeder.PROP_SSL_DISABLE);
if ((mode == 0 && (!disabled) && (!required)) ||
(mode == 1 && (!disabled) && required) ||
......
......@@ -273,7 +273,7 @@ public class Reseeder {
String URLs = _context.getProperty(PROP_RESEED_URL);
boolean defaulted = URLs == null;
boolean SSLDisable = _context.getBooleanProperty(PROP_SSL_DISABLE);
boolean SSLRequired = _context.getBooleanProperty(PROP_SSL_REQUIRED);
boolean SSLRequired = _context.getBooleanPropertyDefaultTrue(PROP_SSL_REQUIRED);
if (defaulted) {
if (SSLDisable)
URLs = DEFAULT_SEED_URL;
......
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