From 151fc6ab67ed491e4e4a951985a0179772e35b6a Mon Sep 17 00:00:00 2001 From: Krzysztof Jackiewicz Date: Tue, 29 Mar 2016 15:36:57 +0200 Subject: [PATCH] Fix the order of security context arguments Change-Id: Ib1ab6c40b82ee52c8dfbce95e16f408293e82b11 --- src/pkgdir_tool/pkgdir_tool.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkgdir_tool/pkgdir_tool.cc b/src/pkgdir_tool/pkgdir_tool.cc index 3cb45d0..c4c6357 100644 --- a/src/pkgdir_tool/pkgdir_tool.cc +++ b/src/pkgdir_tool/pkgdir_tool.cc @@ -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(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()); } -- 2.7.4