rust-cryptoki
rust-cryptoki copied to clipboard
Do not call C_Finalize if not initialized
Hi,
I’m in a mixed env with Rust code used in a C++ program. C++ side initialize the pkcs11 lib so Rust side can’t.
If Rust side calls C_Finalize
, I get a random crash, which, I think, is because of a double free?