mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 08:42:58 +00:00
Fix for SigType.isAvailable()
This commit is contained in:
1 parent
55d92fc9f2
commit
d867f9f36e
1 file changed
+2
-1
@@ -171,7 +171,8 @@ public enum SigType {
|
||||
return true;
|
||||
try {
|
||||
getParams();
|
||||
Signature.getInstance(getAlgorithmName());
|
||||
if (getBaseAlgorithm() != SigAlgo.EdDSA)
|
||||
Signature.getInstance(getAlgorithmName());
|
||||
getDigestInstance();
|
||||
getHashInstance();
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in new issue
Block a user