Add missing break statement to loop

This commit is contained in:
Paul Schaub 2021-09-10 21:04:36 +02:00
parent 194e4d7631
commit 9a8bb7d3ef
Signed by: vanitasvitae
GPG Key ID: 62BEE9264BF17311
1 changed files with 1 additions and 0 deletions

View File

@ -625,6 +625,7 @@ public class SecretKeyRingEditor implements SecretKeyRingEditorInterface {
for (PGPSecretKey secKey : secretKeys) {
if (secKey.getS2KUsage() == SecretKeyPacket.USAGE_CHECKSUM) {
hasS2KUsageChecksum = true;
break;
}
}
if (hasS2KUsageChecksum) {