tests(pki): add security key testing helper functions to torture library

Signed-off-by: Praneeth Sarode <praneethsarode@gmail.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
Praneeth Sarode
2025-08-01 00:26:02 +05:30
parent aab6ce364a
commit f9f8c939bc
3 changed files with 138 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ add_library(${TORTURE_LIBRARY}
torture.c
torture_key.c
torture_pki.c
torture_sk.c
torture_cmocka.c)
target_link_libraries(${TORTURE_LIBRARY} PRIVATE ${TORTURE_LINK_LIBRARIES})
target_compile_options(${TORTURE_LIBRARY} PRIVATE
@@ -77,6 +78,7 @@ if (CLIENT_TESTING)
torture.c
torture_key.c
torture_pki.c
torture_sk.c
torture_cmocka.c
)
target_link_libraries(${TORTURE_SHARED_LIBRARY} PUBLIC