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

Skip to content
Snippets Groups Projects
Commit 34d37046 authored by zzz's avatar zzz
Browse files

sig type availability check

parent 613f90bc
No related branches found
No related tags found
No related merge requests found
...@@ -278,7 +278,7 @@ public class I2PSocketManagerFactory { ...@@ -278,7 +278,7 @@ public class I2PSocketManagerFactory {
String st = opts.getProperty(I2PClient.PROP_SIGTYPE); String st = opts.getProperty(I2PClient.PROP_SIGTYPE);
if (st != null) { if (st != null) {
SigType rv = SigType.parseSigType(st); SigType rv = SigType.parseSigType(st);
if (rv != null) if (rv != null && rv.isAvailable())
return rv; return rv;
getLog().error("Unsupported sig type " + st); getLog().error("Unsupported sig type " + st);
} }
......
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