mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-23 17:22:16 -05:00
Fix expiry, revoked checks in OpenPgpSignatureResultBuilder
This commit is contained in:
parent
0e32b37f9d
commit
79a4e7fb9c
@ -104,8 +104,8 @@ public class OpenPgpSignatureResultBuilder {
|
|||||||
setUserIds(signingRing.getUnorderedUserIds());
|
setUserIds(signingRing.getUnorderedUserIds());
|
||||||
|
|
||||||
// either master key is expired/revoked or this specific subkey is expired/revoked
|
// either master key is expired/revoked or this specific subkey is expired/revoked
|
||||||
setKeyExpired(signingRing.isExpired() || signingKey.isMaybeExpired());
|
setKeyExpired(signingRing.isExpired() || signingKey.isExpired());
|
||||||
setKeyRevoked(signingRing.isRevoked() || signingKey.isMaybeRevoked());
|
setKeyRevoked(signingRing.isRevoked() || signingKey.isRevoked());
|
||||||
}
|
}
|
||||||
|
|
||||||
public OpenPgpSignatureResult build() {
|
public OpenPgpSignatureResult build() {
|
||||||
|
Loading…
Reference in New Issue
Block a user