Skip to content

Commit 7d830c7

Browse files
committed
xphke: make clippy happy
1 parent a9beec9 commit 7d830c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/xhpke/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ impl SecretKey {
157157
&hpke::OpModeR::Base,
158158
&self.inner,
159159
&session,
160-
&domain,
160+
domain,
161161
)?;
162162
// Verify the construct and decrypt the message if everything checks out
163163
ctx.open(msg_to_open, msg_to_auth)
@@ -276,7 +276,7 @@ impl PublicKey {
276276
let (key, mut ctx) = hpke::setup_sender::<AEAD, KDF, KEM, _>(
277277
&hpke::OpModeS::Base,
278278
&self.inner,
279-
&domain,
279+
domain,
280280
&mut rng,
281281
)?;
282282

0 commit comments

Comments
 (0)