-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tests for pkcs#11 3.0 #475
Add tests for pkcs#11 3.0 #475
Conversation
#include <string.h> | ||
|
||
static CK_FUNCTION_LIST_PTR | ||
setup_mock_module (CK_SESSION_HANDLE *session) |
Check notice
Code scanning / CodeQL
Unused static function
} | ||
|
||
static void | ||
teardown_mock_module (CK_FUNCTION_LIST_PTR module) |
Check notice
Code scanning / CodeQL
Unused static function
a7c7e56
to
f6ce309
Compare
74c19aa
to
15eaa58
Compare
test_mechanism_value (void) | ||
{ | ||
p11_buffer buffer; | ||
CK_MECHANISM_TYPE *mechanisms; |
Check notice
Code scanning / CodeQL
Local variable hides global variable
p11_buffer_uninit (&buffer); | ||
} | ||
|
||
#include "test-mock.c" |
Check notice
Code scanning / CodeQL
Include header files only
15eaa58
to
97b0aaa
Compare
97b0aaa
to
1f71cf6
Compare
|
||
static const CK_VERSION test_version_three = {CRYPTOKI_VERSION_MAJOR, CRYPTOKI_VERSION_MINOR}; | ||
|
||
#include "test-transport-base.c" |
Check notice
Code scanning / CodeQL
Include header files only
} | ||
|
||
static void | ||
teardown_mock_module (CK_FUNCTION_LIST *module) |
Check notice
Code scanning / CodeQL
Unused static function
|
||
return p11_test_run (argc, argv); | ||
} | ||
#include "test-transport-base.c" |
Check notice
Code scanning / CodeQL
Include header files only
} | ||
|
||
static CK_FUNCTION_LIST * | ||
setup_mock_module (CK_SESSION_HANDLE *session) |
Check notice
Code scanning / CodeQL
Unused static function
|
||
#endif /* OS_UNIX */ | ||
|
||
#include "test-mock.c" |
Check notice
Code scanning / CodeQL
Include header files only
1f71cf6
to
e4b5dc3
Compare
Signed-off-by: Zoltan Fridrich <[email protected]>
Signed-off-by: Zoltan Fridrich <[email protected]>
Signed-off-by: Zoltan Fridrich <[email protected]>
Signed-off-by: Zoltan Fridrich <[email protected]>
Signed-off-by: Zoltan Fridrich <[email protected]>
e4b5dc3
to
86daf3a
Compare
Adds pkcs#11 3.0 tests into log, rpc and transport tests.