From d0d4e04ee5084d59b7f771758d4082f1fbb07853 Mon Sep 17 00:00:00 2001 From: yeyuning Date: Fri, 1 Dec 2023 14:07:11 +0800 Subject: [PATCH] fix disable rust interface Signed-off-by: yeyuning Change-Id: Icc574e04fda53864f7e6f00b30c6482af8993f5e --- services/key_enable/src/asan/disable_rust_interface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/key_enable/src/asan/disable_rust_interface.cpp b/services/key_enable/src/asan/disable_rust_interface.cpp index 6ce433c..385778b 100644 --- a/services/key_enable/src/asan/disable_rust_interface.cpp +++ b/services/key_enable/src/asan/disable_rust_interface.cpp @@ -18,10 +18,10 @@ /// two mocked function beacause of at asan mode, c_utils:utils_rust cannot compile int32_t EnableKeyInProfileByRust(const char* bundleName, const uint8_t* profile, uint32_t profileSize) { - return OHOS::Security::CodeSign::CS_SUCCESS; + return CS_SUCCESS; } int32_t RemoveKeyInProfileByRust(const char* bundleName) { - return OHOS::Security::CodeSign::CS_SUCCESS; + return CS_SUCCESS; } \ No newline at end of file -- Gitee