Change behavior of trust-anchor 84/149784/3
authorJunghyun Yeon <jungh.yeon@samsung.com>
Wed, 13 Sep 2017 05:44:42 +0000 (14:44 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Thu, 12 Oct 2017 00:25:30 +0000 (00:25 +0000)
- Trust-anchor certificate file directory has fixed.
- Remove pkg-certs-dir attribute due to change of its concept.

Related changes:
[app-installers] : https://review.tizen.org/gerrit/149836
[wgt-backend] : https://review.tizen.org/gerrit/149978
[tpk-manifest-handlers] : https://review.tizen.org/gerrit/150060
[wgt-manifest-handlers] : https://review.tizen.org/gerrit/150136

Change-Id: I746853898e3206ccc00cd543d3c7ca90c473feca
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
include/pkgmgrinfo_basic.h
parser/manifest.xsd.in
parser/manifest.xsd.ref
src/pkgmgrinfo_basic.c

index cfb0f95..d3ffd50 100644 (file)
@@ -212,7 +212,6 @@ typedef struct package_x {
        char *zip_mount_file;   /*no xml part*/
        char *backend_installer;                /**< package backend installer, attr*/
        char *external_path; /**< external storage path if exists, no xml part*/
-       char *pkg_certs_dir;    /**< pkg certificate directory, attr*/
        char *use_system_certs; /**< use system certificates, attr*/
        GList *icon;            /**< package icon, element*/
        GList *label;           /**< package label, element*/
index 11144fa..19f9058 100644 (file)
   </xs:element>
   <xs:element name="trust-anchor">
     <xs:complexType>
-      <xs:attribute name="pkg-certs-dir" type="xs:string"/>
       <xs:attribute name="use-system-certs" type="xs:string"/>
     </xs:complexType>
   </xs:element>
index 90b9884..f012ab8 100644 (file)
   </xs:element>
   <xs:element name="trust-anchor">
     <xs:complexType>
-      <xs:attribute name="pkg-certs-dir" type="xs:string"/>
       <xs:attribute name="use-system-certs" type="xs:string"/>
     </xs:complexType>
   </xs:element>
index 9e94561..330b1da 100644 (file)
@@ -451,8 +451,6 @@ API void pkgmgrinfo_basic_free_package(package_x *package)
                free((void *)package->external_path);
        if (package->support_mode)
                free((void *)package->support_mode);
-       if (package->pkg_certs_dir)
-               free((void *)package->pkg_certs_dir);
        if (package->use_system_certs)
                free((void *)package->use_system_certs);