提交 045266c6 编写于 作者: X xionglei6

init: fix bugs

Signed-off-by: Nxionglei6 <xionglei6@huawei.com>
上级 6d929898
......@@ -21,6 +21,7 @@
#include "init_service_manager.h"
#include "init_service_socket.h"
#include "init_unittest.h"
#include "init_utils.h"
#include "securec.h"
using namespace testing::ext;
......
......@@ -118,6 +118,7 @@ static void TestPermission()
{
const char *testName = "persist.111.ffff.bbbb.cccc.dddd.eeee.55555";
char tmp[PARAM_BUFFER_SIZE] = { 0 };
int ret;
// 允许本地校验
ParamSecurityOps *paramSecurityOps = &GetClientParamWorkSpace()->paramSecurityOps;
paramSecurityOps->securityCheckParamPermission = TestCheckParamPermission;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册