mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-23 08:49:59 +00:00
update components/nstackx/nstackx_core/dfile/core/nstackx_file_manager_client.c.
Signed-off-by: Agrant <luojuheng@huawei.com>
This commit is contained in:
parent
0519a64f42
commit
d74a005906
@ -127,8 +127,6 @@ static FileDataFrame *GetEncryptedDataFrame(FileManager *fileManager, CryptPara
|
||||
goto L_END;
|
||||
}
|
||||
fileManager->iorBytes += (uint64_t)targetLenth;
|
||||
payLoadLen = GCM_ADDED_LEN;
|
||||
DFILE_LOGI(TAG, "added_len:%u", payLoadLen);
|
||||
payLoadLen = targetLenth + GCM_ADDED_LEN;
|
||||
frameOffset = offsetof(FileDataFrame, blockPayload);
|
||||
fileDataFrame = (FileDataFrame *)calloc(1, frameOffset + payLoadLen);
|
||||
|
Loading…
Reference in New Issue
Block a user