Fix hard coded path (trusted ca certs path) 78/60178/1 accepted/tizen/common/20160304.195639 accepted/tizen/ivi/20160305.094305 accepted/tizen/mobile/20160305.094214 accepted/tizen/tv/20160305.094232 accepted/tizen/wearable/20160305.094250 submit/tizen/20160304.074337
authorKyungwook Tak <k.tak@samsung.com>
Wed, 24 Feb 2016 05:09:02 +0000 (14:09 +0900)
committerKyungwook Tak <k.tak@samsung.com>
Wed, 24 Feb 2016 05:09:43 +0000 (14:09 +0900)
Change-Id: If23b59d8942ab720905e912c3c0c61ec7dc2b77b
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
vcore/vcore/pkcs12.cpp

index f9980f0..29e0e70 100644 (file)
@@ -360,7 +360,7 @@ int verify_cert_details(X509 *cert, STACK_OF(X509) *certv)
                 goto free_memory;
             }
 
-            res = X509_STORE_load_locations(cert_store, NULL, "/opt/etc/ssl/certs/");
+            res = X509_STORE_load_locations(cert_store, NULL, TZ_SYS_CA_CERTS);
             if (res != 1) {
                 LogError("P12 load certificate store failed");
                 X509_STORE_free(cert_store);