-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lists: Refactor iteration and printing logic of modules and tokens
This splits the logic to iterate over modules and tokens and print the details into two functions: the iteration and printing of CK_INFO and CK_TOKEN_INFO structures, so that the printing function (print_token_info) can be used for `p11-kit list-tokens`. This also makes slot listing more flexible to allow more than 256 slots. Signed-off-by: Daiki Ueno <[email protected]>
- Loading branch information
Showing
1 changed file
with
133 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters