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) }