mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
Break out of loop after generating key.
This commit is contained in:
@@ -398,6 +398,7 @@ class CryptoComponentImpl implements CryptoComponent {
|
||||
config.getProviderName());
|
||||
kg.init(spec);
|
||||
storedKey = kg.generateKey();
|
||||
break;
|
||||
} catch (GeneralSecurityException e1) {
|
||||
if (LOG.isLoggable(INFO))
|
||||
LOG.info("Could not generate key: " + e1);
|
||||
|
||||
Reference in New Issue
Block a user