Skip to content

Commit

Permalink
keymanager/src/churp: Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
peternose committed Jul 25, 2024
1 parent 190a5db commit 86cc53b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions keymanager/src/churp/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1182,9 +1182,7 @@ impl<S: Suite> Instance<S> {
impl<S: Suite> Handler for Instance<S> {
fn verification_matrix(&self, req: &QueryRequest) -> Result<Vec<u8>> {
let status = self.verify_last_handoff(req.epoch)?;
let shareholder = match status.suite_id {
SuiteId::NistP384Sha3_384 => self.get_shareholder(req.epoch)?,
};
let shareholder = self.get_shareholder(status.handoff)?;
let vm = shareholder
.verifiable_share()
.verification_matrix()
Expand Down

0 comments on commit 86cc53b

Please sign in to comment.