Skip to content

Commit 48d5627

Browse files
author
gefeili
committed
Set PublicKeyPacket in AEADSecretKeyEncryptorBuilder.build as final
1 parent 7f1af64 commit 48d5627

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pg/src/main/java/org/bouncycastle/openpgp/operator/AEADSecretKeyEncryptorBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ public interface AEADSecretKeyEncryptorBuilder
1717
* @param pubKey public primary or subkey packet
1818
* @return encryptor using AEAD
1919
*/
20-
PBESecretKeyEncryptor build(char[] passphrase, PublicKeyPacket pubKey);
20+
PBESecretKeyEncryptor build(char[] passphrase, final PublicKeyPacket pubKey);
2121
}

pg/src/main/java/org/bouncycastle/openpgp/operator/bc/BcAEADSecretKeyEncryptorBuilder.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
public class BcAEADSecretKeyEncryptorBuilder
1515
implements AEADSecretKeyEncryptorBuilder
1616
{
17-
1817
private int aeadAlgorithm;
1918
private int symmetricAlgorithm;
2019
private S2K.Argon2Params argon2Params;

0 commit comments

Comments
 (0)