File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
pg/src/main/java/org/bouncycastle Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ private void parseSubpackets(BCPGInputStream in)
171171
172172 for (int i = 0 ; i != hashedData .length ; i ++)
173173 {
174- SignatureSubpacket p = vec .elementAt (i );
174+ SignatureSubpacket p = ( SignatureSubpacket ) vec .elementAt (i );
175175 if (p instanceof IssuerKeyID )
176176 {
177177 keyID = ((IssuerKeyID )p ).getKeyID ();
@@ -189,7 +189,7 @@ else if (p instanceof SignatureCreationTime)
189189
190190 for (int i = 0 ; i != unhashedData .length ; i ++)
191191 {
192- SignatureSubpacket p = vec .elementAt (i );
192+ SignatureSubpacket p = ( SignatureSubpacket ) vec .elementAt (i );
193193 if (p instanceof IssuerKeyID )
194194 {
195195 keyID = ((IssuerKeyID )p ).getKeyID ();
Original file line number Diff line number Diff line change @@ -375,7 +375,7 @@ public Iterator<PGPPublicKey> getKeysWithSignaturesBy(KeyIdentifier identifier)
375375 }
376376 for (Iterator it = extraPubKeys .iterator (); it .hasNext ();)
377377 {
378- PGPPublicKey k = (PGPPublicKey )it .next ;
378+ PGPPublicKey k = (PGPPublicKey )it .next () ;
379379 Iterator <PGPSignature > sigIt = k .getSignaturesForKey (identifier );
380380 if (sigIt .hasNext ())
381381 {
You can’t perform that action at this time.
0 commit comments