mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2025-01-17 06:52:43 +00:00
Codex
Signed-off-by: xwh <jiewenhao@huawei.com>
This commit is contained in:
parent
b6c3cfa44a
commit
17773f3701
@ -436,7 +436,7 @@ int32_t GenerateStrHashAndConvertToHexString(const unsigned char *str, uint32_t
|
||||
unsigned char hashResult[SHA_256_HASH_LEN] = {0};
|
||||
if (hashStrLen < HEXIFY_LEN(len / HEXIFY_UNIT_LEN)) {
|
||||
SoftBusLog(SOFTBUS_LOG_LNN, SOFTBUS_LOG_ERROR, "generate str hash invalid hashStrLen");
|
||||
return SOFTBUS_INVALID_PARAM;
|
||||
return SOFTBUS_INVALID_PARAM;
|
||||
}
|
||||
if (str == NULL) {
|
||||
SoftBusLog(SOFTBUS_LOG_LNN, SOFTBUS_LOG_ERROR, "generate str hash invalid param");
|
||||
|
Loading…
x
Reference in New Issue
Block a user