signatures: Skip keys which don't split so other keys can be used instead.

This commit is contained in:
Jason Volk 2023-02-24 15:23:49 -08:00 committed by Jonas Platte
parent 2edfe5bc5f
commit 920a412da1

View File

@ -588,7 +588,7 @@ pub fn verify_event(
// Since only ed25519 is supported right now, we don't actually need to check what the
// algorithm is. If it split successfully, it's ed25519.
if split_id(key_id).is_err() {
break;
continue;
}
if let Some(signature) = signature_set.get(key_id) {