From f3c072720227b8ec8c760aa97fa80c90a5f8272d Mon Sep 17 00:00:00 2001 From: "Jan Winkelmann (keks)" Date: Thu, 22 Aug 2024 11:00:17 +0200 Subject: [PATCH] undo more unwrapping --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 83f168a..6517298 100755 --- a/src/lib.rs +++ b/src/lib.rs @@ -523,7 +523,7 @@ impl Hpke { psk_id: Option<&[u8]>, pk_s: Option<&HpkePublicKey>, ) -> Result { - let mut context = self.setup_receiver(enc, sk_r, info, psk, psk_id, pk_s).unwrap(); + let mut context = self.setup_receiver(enc, sk_r, info, psk, psk_id, pk_s)?; context.open(aad, ct) }