summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi/src/parse/stream.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp-ffi/src/parse/stream.rs')
-rw-r--r--openpgp-ffi/src/parse/stream.rs12
1 files changed, 2 insertions, 10 deletions
diff --git a/openpgp-ffi/src/parse/stream.rs b/openpgp-ffi/src/parse/stream.rs
index 2237c41f..262ff596 100644
--- a/openpgp-ffi/src/parse/stream.rs
+++ b/openpgp-ffi/src/parse/stream.rs
@@ -171,9 +171,8 @@ fn pgp_verification_result_variant(result: *const VerificationResult)
match result.ref_raw() {
GoodChecksum { .. } => 1,
MissingKey { .. } => 2,
- BadChecksum { .. } => 3,
- NotAlive { .. } => 4,
- Error { .. } => 5,
+ NotAlive { .. } => 3,
+ Error { .. } => 4,
}
}
@@ -272,13 +271,6 @@ fn pgp_verification_result_missing_key<'a>(
}
}
-/// Decomposes a ``VerificationResult::BadChecksum`.
-///
-/// Returns `true` iff the given value is a
-/// `VerificationResult::BadChecksum`, and returns the variants
-/// members in `sig_r` and the like iff `sig_r != NULL`.
-make_decomposition_fn!(pgp_verification_result_bad_checksum, BadChecksum);
-
/// Decomposes a `VerificationResult::Error`.
///
/// Returns `true` iff the given value is a