Skip to content

Commit

Permalink
Merge pull request #30 from Kakemone/fix_comment
Browse files Browse the repository at this point in the history
Removed confusing comment
  • Loading branch information
hug-dev authored Jul 6, 2021
2 parents f6c6035 + 855fb44 commit f0ae43b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cryptoki/src/functions/slot_token_management.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ impl Pkcs11 {
pub fn init_token(&self, slot: Slot, pin: &str) -> Result<()> {
let pin = Secret::new(CString::new(pin)?.into_bytes());
// FIXME: make a good conversion to the label format
// 32 is the ASCII code for ' '
let label = [b' '; 32];
unsafe {
Rv::from(get_pkcs11!(self, C_InitToken)(
Expand Down

0 comments on commit f0ae43b

Please sign in to comment.