Skip to content

Commit

Permalink
Remove unnecessary cast
Browse files Browse the repository at this point in the history
  • Loading branch information
torkleyy committed Aug 24, 2023
1 parent a60d6b7 commit 2b1509f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ impl EspTls {
}

if let Some(ckp) = cfg.client_key_password {
rcfg.clientkey_password = ckp.as_ptr() as *const u8;
rcfg.clientkey_password = ckp.as_ptr();
rcfg.clientkey_password_len = ckp.len() as u32;
}

Expand Down

0 comments on commit 2b1509f

Please sign in to comment.