From 7c6c41840015f3b1d6d6bba1c32372a4265abe07 Mon Sep 17 00:00:00 2001 From: Simon Brand Date: Sun, 10 Sep 2023 19:25:19 +0000 Subject: [PATCH] Fix typo in PublicEccParametersBuilder --- tss-esapi/src/structures/tagged/public/ecc.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tss-esapi/src/structures/tagged/public/ecc.rs b/tss-esapi/src/structures/tagged/public/ecc.rs index e0809b3a..2326050a 100644 --- a/tss-esapi/src/structures/tagged/public/ecc.rs +++ b/tss-esapi/src/structures/tagged/public/ecc.rs @@ -134,17 +134,17 @@ impl PublicEccParametersBuilder { /// error is returned pub fn build(self) -> Result { let ecc_scheme = self.ecc_scheme.ok_or_else(|| { - error!("Scheme is required nad has not been set in the PublicEccParametersBuilder"); + error!("Scheme is required and has not been set in the PublicEccParametersBuilder"); Error::local_error(WrapperErrorKind::ParamsMissing) })?; let ecc_curve = self.ecc_curve.ok_or_else(|| { - error!("Curve is required nad has not been set in the PublicEccParametersBuilder"); + error!("Curve is required and has not been set in the PublicEccParametersBuilder"); Error::local_error(WrapperErrorKind::ParamsMissing) })?; let key_derivation_function_scheme = self.key_derivation_function_scheme.ok_or_else(|| { - error!("Key derivation function scheme is required nad has not been set in the PublicEccParametersBuilder"); + error!("Key derivation function scheme is required and has not been set in the PublicEccParametersBuilder"); Error::local_error(WrapperErrorKind::ParamsMissing) })?;