mirror of
https://gitee.com/openharmony/security_appverify
synced 2024-11-27 08:40:33 +00:00
优化日志数据类型
Signed-off-by: ImCaO <zhoushihui4@huawei.com>
This commit is contained in:
parent
ec74a0bca7
commit
c960861348
@ -297,7 +297,8 @@ AppProvisionVerifyResult CheckDeviceID(ProvisionInfo& info)
|
||||
return PROVISION_DEVICE_UNAUTHORIZED;
|
||||
}
|
||||
|
||||
HAPVERIFY_LOG_DEBUG(LABEL, "number of device ids in list: %{public}d", info.debugInfo.deviceIds.size());
|
||||
HAPVERIFY_LOG_DEBUG(LABEL, "number of device ids in list: %{public}u",
|
||||
static_cast<uint32_t>(info.debugInfo.deviceIds.size()));
|
||||
|
||||
if (info.debugInfo.deviceIdType != VALUE_DEVICE_ID_TYPE_UDID) {
|
||||
HAPVERIFY_LOG_ERROR(LABEL, "type of device ID is not supported.");
|
||||
|
@ -83,7 +83,8 @@ AppProvisionVerifyResult CheckDevice(ProvisionInfo& info)
|
||||
return PROVISION_DEVICE_UNAUTHORIZED;
|
||||
}
|
||||
|
||||
HAPVERIFY_LOG_DEBUG(LABEL, "number of device ids in list: %{public}d", info.debugInfo.deviceIds.size());
|
||||
HAPVERIFY_LOG_DEBUG(LABEL, "number of device ids in list: %{public}u",
|
||||
static_cast<uint32_t>(info.debugInfo.deviceIds.size()));
|
||||
|
||||
if (info.debugInfo.deviceIdType != VALUE_DEVICE_TYPE_UDID) {
|
||||
HAPVERIFY_LOG_ERROR(LABEL, "type of device ID is not supported.");
|
||||
|
Loading…
Reference in New Issue
Block a user