File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ pub enum Limit {
51
51
#[ derive( Debug , Clone ) ]
52
52
pub struct TokenInfo {
53
53
// The following four strings are limited in size based on
54
- // the orignating struct definition. Sizes are in *bytes*
54
+ // the originating struct definition. Sizes are in *bytes*
55
55
// but UTF-8 data may represent fewer characters.
56
56
// Original buffers were space (0x20) padded.
57
57
label : String , // len <= 32 bytes
Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ impl UtcTime {
261
261
262
262
// UTC time has the format YYYYMMDDhhmmss00 as ASCII digits
263
263
pub ( crate ) fn convert_utc_time ( orig : [ u8 ; 16 ] ) -> Result < UtcTime > {
264
- // Note: No validaiton of these values beyond being ASCII digits
264
+ // Note: No validation of these values beyond being ASCII digits
265
265
// because PKCS#11 doesn't impose any such restrictions.
266
266
Ok ( UtcTime {
267
267
year : std:: str:: from_utf8 ( & orig[ 0 ..4 ] ) ?. parse ( ) ?,
You can’t perform that action at this time.
0 commit comments