Change-Id: Id2c82cf60202e21da11a880e0fdcd4f1cbaa00a1
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
(*it)->getPublicKeyDER(&public_key, &len);
std::string author_id =
ci::EncodeBase64(public_key, len);
- cert_info->author_id.set(author_id);
+ cert_info->author_id.set(std::move(author_id));
free(public_key);
return SetCertificate(data,
request_type_ == ci::RequestType::ManifestPartialInstall ||
request_type_ == ci::RequestType::ManifestPartialUpdate)))
check_reference = false;
- if (!CheckSignatures(check_reference, level, sig_root_path, error_message))
+ if (!CheckSignatures(check_reference, level, std::move(sig_root_path),
+ error_message))
return false;
if (*level == PrivilegeLevel::UNTRUSTED)
};
/** Standard constructor */
- explicit Step(InstallerContext* context) : context_(context) { }
+ explicit Step(InstallerContext* context)
+ : context_(context), on_error_(nullptr) { }
/** Virtual "empty" destructor */
virtual ~Step() { }