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