We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6114940 + a07114a commit 345c720Copy full SHA for 345c720
pg/src/main/java/org/bouncycastle/openpgp/PGPSignature.java
@@ -195,10 +195,18 @@ private void checkSaltSize()
195
}
196
197
private void updateWithSalt()
198
+ throws PGPException
199
{
200
if (getVersion() == SignaturePacket.VERSION_6)
201
- update(sigPck.getSalt());
202
+ try
203
+ {
204
+ sigOut.write(sigPck.getSalt());
205
+ }
206
+ catch (IOException e)
207
208
+ throw new PGPException("Could not update with salt.", e);
209
210
211
212
0 commit comments