diff --git a/interfaces/innerkits/nativetoken/test/mock/src/cJSON.c b/interfaces/innerkits/nativetoken/test/mock/src/cJSON.c index 91ac13617e419429e43bffb30264f49dd46b6e64..e72ad0cfc63b6e0b15513ce9af1d66ffe778dc3e 100644 --- a/interfaces/innerkits/nativetoken/test/mock/src/cJSON.c +++ b/interfaces/innerkits/nativetoken/test/mock/src/cJSON.c @@ -48,11 +48,7 @@ void GetHandle(void) if (g_handle != NULL) { return; } -#if defined(__LP64__) - g_handle = dlopen("/system/lib64/chipset-pub-sdk/libcjson.z.so", RTLD_LAZY); -#else - g_handle = dlopen("/system/lib/chipset-pub-sdk/libcjson.z.so", RTLD_LAZY); -#endif + g_handle = dlopen("libcjson.z.so", RTLD_LAZY); } cJSON* cJSON_GetObjectItem(const cJSON* const object, const char* const string) diff --git a/interfaces/innerkits/nativetoken/test/mock/src/secure_function.c b/interfaces/innerkits/nativetoken/test/mock/src/secure_function.c index 486301aab5227e017a1a4e36c09dc0beea1f6f26..0403453776d7d265aa150505c76a97098b3c9cc5 100644 --- a/interfaces/innerkits/nativetoken/test/mock/src/secure_function.c +++ b/interfaces/innerkits/nativetoken/test/mock/src/secure_function.c @@ -26,11 +26,7 @@ static void GetHandle(void) if (g_handle != NULL) { return; } -#if defined(__LP64__) - g_handle = dlopen("/system/lib64/chipset-pub-sdk/libsec_shared.z.so", RTLD_LAZY); -#else - g_handle = dlopen("/system/lib/chipset-pub-sdk/libsec_shared.z.so", RTLD_LAZY); -#endif + g_handle = dlopen("libsec_shared.z.so", RTLD_LAZY); } int strcpy_s(char *strDest, size_t destMax, const char *strSrc)