Skip to content

Commit 1131521

Browse files
authored
pkcs1: correct typo in params.rs (#1975)
1 parent 9574905 commit 1131521

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkcs1/src/params.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ impl<'a> RsaOaepParams<'a> {
288288
parameters: Some(AnyRef::NULL),
289289
}),
290290
},
291-
p_source: pspecicied_algorithm_identifier(label),
291+
p_source: pspecified_algorithm_identifier(label),
292292
}
293293
}
294294

@@ -386,7 +386,7 @@ impl<'a> TryFrom<&'a [u8]> for RsaOaepParams<'a> {
386386
}
387387
}
388388

389-
fn pspecicied_algorithm_identifier(label: &impl AsRef<[u8]>) -> AlgorithmIdentifierRef<'_> {
389+
fn pspecified_algorithm_identifier(label: &impl AsRef<[u8]>) -> AlgorithmIdentifierRef<'_> {
390390
AlgorithmIdentifierRef {
391391
oid: OID_PSPECIFIED,
392392
parameters: Some(
@@ -397,5 +397,5 @@ fn pspecicied_algorithm_identifier(label: &impl AsRef<[u8]>) -> AlgorithmIdentif
397397

398398
/// Default Source Algorithm, empty string
399399
fn default_pempty_string<'a>() -> AlgorithmIdentifierRef<'a> {
400-
pspecicied_algorithm_identifier(&[])
400+
pspecified_algorithm_identifier(&[])
401401
}

0 commit comments

Comments
 (0)