From 9ecb0ce50090bdda38bde6d1439ef02745ebee32 Mon Sep 17 00:00:00 2001 From: "Jan Winkelmann (keks)" Date: Thu, 5 Sep 2024 15:04:50 +0200 Subject: [PATCH] fix docs --- openmls/src/ciphersuite/signable.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openmls/src/ciphersuite/signable.rs b/openmls/src/ciphersuite/signable.rs index 52b885fb43..39b3f12673 100644 --- a/openmls/src/ciphersuite/signable.rs +++ b/openmls/src/ciphersuite/signable.rs @@ -131,12 +131,12 @@ pub trait Verifiable: Sized { pk: &OpenMlsSignaturePublicKey, ) -> Result; - /// Verifies the payload against the given `credential`. + /// Verifies the payload against the given public key. /// The signature is fetched via the [`Verifiable::signature()`] function and /// the payload via [`Verifiable::unsigned_payload()`]. /// /// Returns `Ok(())` if the signature is valid and - /// `CredentialError::InvalidSignature` otherwise. + /// [`SignatureError::VerificationError`] otherwise. fn verify_no_out( &self, crypto: &impl OpenMlsCrypto,