2006-12-02 11:53:32 +00:00
|
|
|
ENABLE_TESTING()
|
|
|
|
|
2006-10-12 00:53:26 +00:00
|
|
|
set(certunittest_bin_SRCS certunittest.cpp)
|
|
|
|
|
|
|
|
add_executable(certunittest ${certunittest_bin_SRCS} )
|
|
|
|
|
2014-01-02 03:50:18 +06:00
|
|
|
target_link_qca_test_libraries(certunittest)
|
|
|
|
|
2006-10-12 00:53:26 +00:00
|
|
|
|
|
|
|
FOREACH( testFileName RootCAcert.pem 76.pem altname.pem csr1.pem
|
2007-07-22 04:22:00 +00:00
|
|
|
GoodCACRL.pem ov-root-ca-cert.crt User.pem QcaTestClientCert.pem xmppcert.pem
|
|
|
|
Server.pem QcaTestServerCert.pem xmppcert.pem newreq.pem
|
2009-07-07 12:24:51 +00:00
|
|
|
QualitySSLIntermediateCA.crt QcaTestRootCert.pem Test_CRL.crl
|
|
|
|
RAIZ2007_CERTIFICATE_AND_CRL_SIGNING_SHA256.crt )
|
2014-02-02 02:35:55 +06:00
|
|
|
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/certs/${testFileName} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/certs/${testFileName} COPYONLY)
|
2006-10-12 00:53:26 +00:00
|
|
|
ENDFOREACH( testFileName )
|
2006-12-02 11:53:32 +00:00
|
|
|
|
2014-02-02 02:35:55 +06:00
|
|
|
add_qca_test(certunittest "Certificate")
|