forked from I2P_Developers/i2p.i2p
sig type availability check
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user