Skip to content

Commit

Permalink
tests: Delete token object
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Jelen <[email protected]>
  • Loading branch information
Jakuje authored and simo5 committed Dec 11, 2024
1 parent f88d1a9 commit 202a2cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tests/nssdb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@ fn test_nssdb_init_token() {
assert_eq!(ret, CKR_OK);
assert_eq!(value.as_slice(), "Secret".as_bytes());

let ret = fn_destroy_object(session, handle);
assert_eq!(ret, CKR_OK);

/* add a public object to ensure attributes are handled correctly
* CKA_VALUE is encrypted only for private objects */
let _ = ret_or_panic!(import_object(
Expand Down

0 comments on commit 202a2cb

Please sign in to comment.