mirror of
https://github.com/openharmony/security_device_auth.git
synced 2026-08-24 19:23:10 -04:00
remove print message->val when sha256 fail
Signed-off-by: kou-chuxiong <kouchuxiong@h-partners.com> Change-Id: I3bfc883bfbaed6ea9db49cc16b4cdbc2b9cee396
This commit is contained in:
@@ -1596,7 +1596,7 @@ int32_t verify(struct hc_key_alias *key_alias, const int32_t user_type,
|
||||
|
||||
struct sha256_value sha256_value = sha256(message);
|
||||
if (sha256_value.length == 0) {
|
||||
LOGE("Get sha256 hash failed. message val:%s, message length:%d", message->val, message->length);
|
||||
LOGE("Get sha256 hash failed.");
|
||||
return error_code;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user