mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-12-22 19:08:00 +01:00
Fix unsigned assignment
This commit is contained in:
parent
fc3e0a58a8
commit
770b4f9f59
1 changed files with 2 additions and 2 deletions
|
@ -209,9 +209,9 @@ public class BCUtil {
|
|||
}
|
||||
|
||||
public static PGPPublicKey getMasterKeyFrom(PGPKeyRing ring) {
|
||||
Iterator<PGPPublicKey> it = ring.getPublicKeys();
|
||||
Iterator it = ring.getPublicKeys();
|
||||
while (it.hasNext()) {
|
||||
PGPPublicKey k = it.next();
|
||||
PGPPublicKey k = (PGPPublicKey) it.next();
|
||||
if (k.isMasterKey()) {
|
||||
// There can only be one master key, so we can immediately return
|
||||
return k;
|
||||
|
|
Loading…
Reference in a new issue