Skip to content

Commit

Permalink
PKCS11: Meta_object: Increase test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
aveenismail committed Apr 12, 2023
1 parent 69c642e commit fc0fe8a
Show file tree
Hide file tree
Showing 2 changed files with 265 additions and 43 deletions.
13 changes: 7 additions & 6 deletions pkcs11/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -242,12 +242,12 @@ set (
)

set (
SOURCE_META_OBJECT
meta_object_test.c
common.c
SOURCE_META_OBJECT
meta_object_test.c
common.c
)

set (
set(
SOURCE_AES_ENCRYPT
aes_encrypt_test.c
common.c
Expand Down Expand Up @@ -279,9 +279,10 @@ target_link_libraries (
${LIBCRYPTO_LDFLAGS}
"-ldl")

target_link_libraries(
target_link_libraries (
meta_object_test
${LIBCRYPTO_LDFLAGS}
yubihsm
"-ldl")

add_test (
Expand All @@ -292,7 +293,7 @@ add_test (
add_test (
NAME meta_object_test
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/meta_object_test ${CMAKE_CURRENT_BINARY_DIR}/../yubihsm_pkcs11.${LIBEXT}
)
)

if (NOT ${LIBCRYPTO_VERSION} VERSION_LESS 1.1)
add_executable (rsa_enc_test ${SOURCE_RSA_ENC_TEST})
Expand Down
Loading

0 comments on commit fc0fe8a

Please sign in to comment.