diff options
author | Neal H. Walfield <neal@pep.foundation> | 2019-11-10 10:27:58 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2019-11-10 10:27:58 +0100 |
commit | 0f7e98e5f0efe893d1059f74b93f51a34a57afce (patch) | |
tree | 9c319a4f9c1fb39745e651fbe8c0a6a754a1bfa7 /openpgp/src | |
parent | b8e5ef908ee211daee84a0782a115ae7fc003ec0 (diff) |
openpgp: Remove gratuitious code from last commit.
- The last commit introduced a gratuitious and unreachable "else if"
branch, remove it.
Diffstat (limited to 'openpgp/src')
-rw-r--r-- | openpgp/src/parse/stream.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/openpgp/src/parse/stream.rs b/openpgp/src/parse/stream.rs index 4d07b483..8074d471 100644 --- a/openpgp/src/parse/stream.rs +++ b/openpgp/src/parse/stream.rs @@ -616,10 +616,8 @@ impl<'a, H: VerificationHelper> Verifier<'a, H> { VerificationResult::GoodChecksum (sig, tpk, key, binding, revocation) - } else if !sig.signature_alive(self.time) { - VerificationResult::NotAlive(sig) } else { - VerificationResult::BadChecksum(sig) + VerificationResult::NotAlive(sig) } } else { VerificationResult::BadChecksum(sig) |