diff --git a/cast_auth/mediadrm/DrmPlugin.cpp b/cast_auth/mediadrm/DrmPlugin.cpp index 6176c09..b6b896e 100644 --- a/cast_auth/mediadrm/DrmPlugin.cpp +++ b/cast_auth/mediadrm/DrmPlugin.cpp @@ -116,6 +116,7 @@ std::vector readBinaryFile(const std::string& file_path) { *_aidl_return = std::vector(); void* cast_auth_handle = ::dlopen("libcast_auth.so", RTLD_LAZY); if (!cast_auth_handle) { + ALOGE("Fail to get TA for signing"); return toNdkScopedAStatus(status); } typedef bool (*func_type)(const std::vector&, @@ -123,6 +124,7 @@ std::vector readBinaryFile(const std::string& file_path) { func_type sign_hash_func = reinterpret_cast(::dlsym(cast_auth_handle, "SignHash")); if (!sign_hash_func) { + ALOGE("Fail to apply signing method"); dlclose(cast_auth_handle); return toNdkScopedAStatus(status); } @@ -133,6 +135,7 @@ std::vector readBinaryFile(const std::string& file_path) { *_aidl_return = signature; status = Status::OK; } + ALOGE("Get empty result from TA"); return toNdkScopedAStatus(status); }