1 # Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 # @file CMakeLists.txt
16 # @author Jacek Migacz (j.migacz@samsung.com)
18 # @brief This package provides bacis check of internal OpenSSL's PKCS#12 routines.
21 SET(PKCS12_TEST_SOURCES
22 ${PROJECT_SOURCE_DIR}/tests/pkcs12/pkcs12_test.cpp
23 ${PROJECT_SOURCE_DIR}/tests/pkcs12/new_test_cases.cpp
27 ${PROJECT_SOURCE_DIR}/vcore/src
28 ${PROJECT_SOURCE_DIR}/tests/pkcs12
31 ADD_EXECUTABLE(${TARGET_PKCS12_TEST} ${PKCS12_TEST_SOURCES})
33 TARGET_LINK_LIBRARIES(${TARGET_PKCS12_TEST}
35 ${VCORE_TEST_DEP_LIBRARIES}
39 INSTALL(TARGETS ${TARGET_PKCS12_TEST}
40 DESTINATION ${TZ_SYS_BIN}
41 PERMISSIONS OWNER_READ
52 ${PROJECT_SOURCE_DIR}/tests/pkcs12/without_pass.p12
53 DESTINATION ${TZ_SYS_RO_APP}/widget/tests/pkcs12/
57 ${PROJECT_SOURCE_DIR}/tests/pkcs12/without_pass.p12
58 ${PROJECT_SOURCE_DIR}/tests/pkcs12/Invalidcrt.crt
59 ${PROJECT_SOURCE_DIR}/tests/pkcs12/Testing.crt
60 ${PROJECT_SOURCE_DIR}/tests/pkcs12/test.pfx
61 ${PROJECT_SOURCE_DIR}/tests/pkcs12/wifi-server.pem
62 ${PROJECT_SOURCE_DIR}/tests/pkcs12/wifiserver.pfx
63 ${PROJECT_SOURCE_DIR}/tests/pkcs12/wifiuser.p12
64 DESTINATION ${TZ_SYS_SHARE}/cert-svc/tests/
68 ${PROJECT_SOURCE_DIR}/tests/pkcs12/8956b9bc.0
69 DESTINATION ${TZ_SYS_ETC}/ssl/certs/