Skip to content

Commit 2aa4505

Browse files
committed
Revert fix: Re-added .into() for Linux compatibility
Signed-off-by: mematthias <107192630+mematthias@users.noreply.github.com>
1 parent bc4f0b5 commit 2aa4505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cryptoki/src/session/random.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ impl Session {
3434
Rv::from(get_pkcs11!(self.client(), C_GenerateRandom)(
3535
self.handle(),
3636
result.as_mut_ptr(),
37-
random_len,
37+
random_len.into(),
3838
))
3939
.into_result(Function::GenerateRandom)?;
4040
}

0 commit comments

Comments
 (0)