Skip to content

Commit afbf75c

Browse files
committed
Typo and cast fix.
1 parent 778c040 commit afbf75c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pg/src/main/java/org/bouncycastle/openpgp/api/OpenPGPMessageInputStream.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ void addSignatures(PGPSignatureList signatures)
741741
{
742742
for (Iterator it = signatures.iterator(); it.hasNext();)
743743
{
744-
PGPSignature signature = it.next();
744+
PGPSignature signature = (PGPSignature)it.next();
745745
this.signatures.add(signature);
746746
}
747747
}
@@ -751,7 +751,7 @@ void init(OpenPGPMessageProcessor processor)
751751

752752
for (Iterator it = onePassSignatures.iterator(); it.hasNext();)
753753
{
754-
PGPOnePassSignature onePassSignature = (PGPOnePassSignature)it.next();
754+
PGPOnePassSignature ops = (PGPOnePassSignature)it.next();
755755
KeyIdentifier identifier = ops.getKeyIdentifier();
756756
OpenPGPCertificate cert = processor.provideCertificate(identifier);
757757
if (cert == null)

0 commit comments

Comments
 (0)