mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-30 00:02:06 +01:00
Change visibility of BcPGPHashContextContentSignerBuilder constructor
This commit is contained in:
parent
6c442e9568
commit
4764202ac9
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ class BcPGPHashContextContentSignerBuilder extends PGPHashContextContentSignerBu
|
||||||
private final MessageDigest messageDigest;
|
private final MessageDigest messageDigest;
|
||||||
private final HashAlgorithm hashAlgorithm;
|
private final HashAlgorithm hashAlgorithm;
|
||||||
|
|
||||||
public BcPGPHashContextContentSignerBuilder(MessageDigest messageDigest) {
|
BcPGPHashContextContentSignerBuilder(MessageDigest messageDigest) {
|
||||||
this.messageDigest = messageDigest;
|
this.messageDigest = messageDigest;
|
||||||
this.hashAlgorithm = HashAlgorithm.fromName(messageDigest.getAlgorithm());
|
this.hashAlgorithm = HashAlgorithm.fromName(messageDigest.getAlgorithm());
|
||||||
if (hashAlgorithm == null) {
|
if (hashAlgorithm == null) {
|
||||||
|
|
Loading…
Reference in a new issue