add evp_pkey_cleanup test

This commit is contained in:
Brent Cook 2022-04-04 01:09:27 -05:00
parent e5263d7163
commit b52dc3d9b2
3 changed files with 13 additions and 0 deletions

1
.gitignore vendored
View File

@ -74,6 +74,7 @@ tests/cipher*
tests/constraints*
tests/ec_point_conversion*
tests/evp_pkey_check*
tests/evp_pkey_cleanup*
tests/explicit_bzero*
tests/freenull*
tests/gost2814789t*

View File

@ -4,6 +4,7 @@ include_directories(
.
../crypto/asn1
../crypto/bio
../crypto/evp
../crypto/modes
../crypto/x509
../ssl
@ -243,6 +244,11 @@ add_executable(evp_pkey_check evp_pkey_check.c)
target_link_libraries(evp_pkey_check ${OPENSSL_TEST_LIBS})
add_test(evp_pkey_check evp_pkey_check)
# evp_pkey_cleanup
add_executable(evp_pkey_cleanup evp_pkey_cleanup.c)
target_link_libraries(evp_pkey_cleanup ${OPENSSL_TEST_LIBS})
add_test(evp_pkey_cleanup evp_pkey_cleanup)
# evptest
add_executable(evptest evptest.c)
target_link_libraries(evptest ${OPENSSL_TEST_LIBS})

View File

@ -4,6 +4,7 @@ AM_CPPFLAGS += -DLIBRESSL_CRYPTO_INTERNAL
AM_CPPFLAGS += -I $(top_srcdir)/crypto/asn1
AM_CPPFLAGS += -I $(top_srcdir)/crypto/bio
AM_CPPFLAGS += -I $(top_srcdir)/crypto/evp
AM_CPPFLAGS += -I $(top_srcdir)/crypto/modes
AM_CPPFLAGS += -I $(top_srcdir)/crypto/x509
AM_CPPFLAGS += -I $(top_srcdir)/ssl
@ -255,6 +256,11 @@ TESTS += evp_pkey_check
check_PROGRAMS += evp_pkey_check
evp_pkey_check_SOURCES = evp_pkey_check.c
# evp_pkey_cleanup
TESTS += evp_pkey_cleanup
check_PROGRAMS += evp_pkey_cleanup
evp_pkey_cleanup_SOURCES = evp_pkey_cleanup.c
# evptest
TESTS += evptest.sh
check_PROGRAMS += evptest