mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
Catch any Exception when generating stored key.
This commit is contained in:
@@ -399,7 +399,7 @@ class CryptoComponentImpl implements CryptoComponent {
|
||||
kg.init(spec);
|
||||
storedKey = kg.generateKey();
|
||||
break;
|
||||
} catch (GeneralSecurityException e1) {
|
||||
} catch (Exception e1) {
|
||||
if (LOG.isLoggable(INFO))
|
||||
LOG.info("Could not generate key: " + e1);
|
||||
// Fall back to next spec
|
||||
|
||||
Reference in New Issue
Block a user