diff --git a/components/nstackx/nstackx_core/dfile/core/nstackx_file_manager_client.c b/components/nstackx/nstackx_core/dfile/core/nstackx_file_manager_client.c index 20d004bf0..81510d249 100644 --- a/components/nstackx/nstackx_core/dfile/core/nstackx_file_manager_client.c +++ b/components/nstackx/nstackx_core/dfile/core/nstackx_file_manager_client.c @@ -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);