diff options
author | sunggun.jung <sunggun.jung@samsung.com> | 2012-11-20 17:04:15 +0900 |
---|---|---|
committer | sunggun.jung <sunggun.jung@samsung.com> | 2012-11-20 17:04:15 +0900 |
commit | 7a24be16caeebc83276f73f97cfe635aee09fd88 (patch) | |
tree | 2e6686ef706a136304bf7ed0c3e36851b758b2a9 /src | |
parent | f367bc6ffcf338ba017f5fc0320ae5fdbe7e782a (diff) | |
download | installer-7a24be16caeebc83276f73f97cfe635aee09fd88.tar.gz installer-7a24be16caeebc83276f73f97cfe635aee09fd88.tar.bz2 installer-7a24be16caeebc83276f73f97cfe635aee09fd88.zip |
A-DRM applied
Change-Id: I7bc2763acde255e6e01da993af3b4bf6a952fa1d
Diffstat (limited to 'src')
-rwxr-xr-x | src/Util/InstallerUtil.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Util/InstallerUtil.cpp b/src/Util/InstallerUtil.cpp index 61d0eb7..6b47f51 100755 --- a/src/Util/InstallerUtil.cpp +++ b/src/Util/InstallerUtil.cpp @@ -33,7 +33,7 @@ #include "InstallerDefs.h" #include "InstallerUtil.h" -//#include <drm-oem-intel.h> +#include <drm-oem-intel.h> using namespace Osp::Base; using namespace Osp::Base::Collection; @@ -342,7 +342,7 @@ InstallerUtil::IsDrmFile(const Osp::Base::String& path) pFilePath = _StringConverter::CopyToCharArrayN(path); TryCatch(pFilePath, r = GetLastResult(), "[osp-installer] pFilePath is null"); -// isDrm = drm_oem_intel_isDrmFile(pFilePath); + isDrm = drm_oem_intel_isDrmFile(pFilePath); if(isDrm == 1) { AppLogTag(OSP_INSTALLER, "IsDrmFile() called, packagePath=%ls is drm file", path.GetPointer()); @@ -369,7 +369,7 @@ InstallerUtil::DecryptPackage(const Osp::Base::String& packagePath) pFilePath = _StringConverter::CopyToCharArrayN(packagePath); TryCatch(pFilePath, r = GetLastResult(), "[osp-installer] pFilePath is null"); -// result = drm_oem_intel_decrypt_package(pFilePath, pFilePath); + result = drm_oem_intel_decrypt_package(pFilePath, pFilePath); if(result == 1) { AppLogTag(OSP_INSTALLER, "DecryptPackage() called, packagePath=%ls, decrpyt success", packagePath.GetPointer()); |