Skip to content

Commit 3eb976d

Browse files
authored
Merge pull request #430 from brandsimon/sbr/fix_nad_typo
Fix typo in PublicEccParametersBuilder
2 parents 0588744 + 3156b19 commit 3eb976d

File tree

1 file changed

+3
-3
lines changed
  • tss-esapi/src/structures/tagged/public

1 file changed

+3
-3
lines changed

tss-esapi/src/structures/tagged/public/ecc.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,17 +134,17 @@ impl PublicEccParametersBuilder {
134134
/// error is returned
135135
pub fn build(self) -> Result<PublicEccParameters> {
136136
let ecc_scheme = self.ecc_scheme.ok_or_else(|| {
137-
error!("Scheme is required nad has not been set in the PublicEccParametersBuilder");
137+
error!("Scheme is required and has not been set in the PublicEccParametersBuilder");
138138
Error::local_error(WrapperErrorKind::ParamsMissing)
139139
})?;
140140

141141
let ecc_curve = self.ecc_curve.ok_or_else(|| {
142-
error!("Curve is required nad has not been set in the PublicEccParametersBuilder");
142+
error!("Curve is required and has not been set in the PublicEccParametersBuilder");
143143
Error::local_error(WrapperErrorKind::ParamsMissing)
144144
})?;
145145

146146
let key_derivation_function_scheme = self.key_derivation_function_scheme.ok_or_else(|| {
147-
error!("Key derivation function scheme is required nad has not been set in the PublicEccParametersBuilder");
147+
error!("Key derivation function scheme is required and has not been set in the PublicEccParametersBuilder");
148148
Error::local_error(WrapperErrorKind::ParamsMissing)
149149
})?;
150150

0 commit comments

Comments
 (0)