1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-12-22 19:08:00 +01:00

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

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) {