Skip to content

Commit 22c9eda

Browse files
committed
BcPBEDataDecryptorFactory: fix constructor parameter type
1 parent db6161f commit 22c9eda

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import org.bouncycastle.openpgp.PGPSessionKey;
1717
import org.bouncycastle.openpgp.operator.PBEDataDecryptorFactory;
1818
import org.bouncycastle.openpgp.operator.PGPDataDecryptor;
19+
import org.bouncycastle.openpgp.operator.PGPDigestCalculatorProvider;
1920

2021
/**
2122
* A {@link PBEDataDecryptorFactory} for handling PBE decryption operations using the Bouncy Castle
@@ -30,7 +31,7 @@ public class BcPBEDataDecryptorFactory
3031
* @param pass the passphrase to use as the primary source of key material.
3132
* @param calculatorProvider a digest calculator provider to provide calculators to support the key generation calculation required.
3233
*/
33-
public BcPBEDataDecryptorFactory(char[] pass, BcPGPDigestCalculatorProvider calculatorProvider)
34+
public BcPBEDataDecryptorFactory(char[] pass, PGPDigestCalculatorProvider calculatorProvider)
3435
{
3536
super(pass, calculatorProvider);
3637
}

0 commit comments

Comments
 (0)