Fix the order of security context arguments 46/64046/1 accepted/tizen/common/20160330.120253 accepted/tizen/ivi/20160330.062821 accepted/tizen/mobile/20160330.062706 accepted/tizen/tv/20160330.062730 accepted/tizen/wearable/20160330.062758 submit/tizen/20160330.031019
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Tue, 29 Mar 2016 13:36:57 +0000 (15:36 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Tue, 29 Mar 2016 13:38:59 +0000 (15:38 +0200)
Change-Id: Ib1ab6c40b82ee52c8dfbce95e16f408293e82b11

src/pkgdir_tool/pkgdir_tool.cc

index 3cb45d0..c4c6357 100644 (file)
@@ -89,7 +89,7 @@ int PkgmgrListCallback(const pkgmgrinfo_pkginfo_h handle, void *user_data) {
     cert.getPublicKeyDER(&public_key, &len);
     std::string author_id =
         ci::EncodeBase64(reinterpret_cast<const char*>(public_key));
-    pkgs->emplace_back(pkgid, api_version, author_id);
+    pkgs->emplace_back(pkgid, author_id, api_version);
   } else {
     pkgs->emplace_back(pkgid, std::string(), std::string());
   }