mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
Router: Don't fail to start up on unchecked family key errors
This commit is contained in:
@@ -1069,8 +1069,9 @@ public class Router implements RouterClock.ClockShiftListener {
|
||||
if (!_familyKeyCryptoFail) {
|
||||
try {
|
||||
_familyKeyCrypto = new FamilyKeyCrypto(_context);
|
||||
} catch (GeneralSecurityException gse) {
|
||||
_log.error("Failed to initialize family key crypto", gse);
|
||||
} catch (Exception e) {
|
||||
// Could be IllegalArgumentException from key problems
|
||||
_log.error("Failed to initialize family key crypto", e);
|
||||
_familyKeyCryptoFail = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user