More Rust cleanups
This commit is contained in:
parent
15e9a1a72a
commit
86cd2f54d7
|
@ -296,7 +296,7 @@ impl BridgeAuth {
|
|||
+ cred.invites_issued * self.lox_priv.x[6])
|
||||
* cred.P;
|
||||
|
||||
return Q == cred.Q;
|
||||
Q == cred.Q
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
@ -311,7 +311,8 @@ impl BridgeAuth {
|
|||
+ cred.from_bucket * self.migration_priv.x[2]
|
||||
+ cred.to_bucket * self.migration_priv.x[3])
|
||||
* cred.P;
|
||||
return Q == cred.Q;
|
||||
|
||||
Q == cred.Q
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
@ -325,7 +326,8 @@ impl BridgeAuth {
|
|||
+ cred.date * self.reachability_priv.x[1]
|
||||
+ cred.bucket * self.reachability_priv.x[2])
|
||||
* cred.P;
|
||||
return Q == cred.Q;
|
||||
|
||||
Q == cred.Q
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue