forked from I2P_Developers/i2p.i2p
Patch for family key issue in 1.8.0 affecting Android
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