Skip to content

Commit

Permalink
Hsm: close_session didn't need a mut reference
Browse files Browse the repository at this point in the history
  • Loading branch information
flihp committed Nov 5, 2024
1 parent 9909caa commit 7265b03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/ca.rs
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ pub fn sign(
return Err(e);
}
} else if filename.ends_with(DCSRSPEC_EXT) {
let mut hsm = Hsm::new(
let hsm = Hsm::new(
0x0002,
&passwd_from_env("OKM_HSM_PKCS11_AUTH")?,
publish,
Expand Down

0 comments on commit 7265b03

Please sign in to comment.