Updating zakosign binary script builds
This commit is contained in:
@@ -15,7 +15,7 @@ add_library(zako
|
|||||||
find_library(log-lib log)
|
find_library(log-lib log)
|
||||||
|
|
||||||
if(ANDROID_ABI STREQUAL "arm64-v8a")
|
if(ANDROID_ABI STREQUAL "arm64-v8a")
|
||||||
set(zakosign-lib ${CMAKE_SOURCE_DIR}/libs/arm64-v8a/libzakosign.so)
|
set(zakosign-lib ${CMAKE_SOURCE_DIR}/../jniLibs/arm64-v8a/libzakosign.so)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(ANDROID_ABI STREQUAL "arm64-v8a")
|
if(ANDROID_ABI STREQUAL "arm64-v8a")
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
// Zako extern declarations
|
// Zako extern declarations
|
||||||
#define ZAKO_ESV_IMPORTANT_ERROR 1 << 31
|
#define ZAKO_ESV_IMPORTANT_ERROR 1 << 31
|
||||||
extern int zako_file_open_rw(const char* path);
|
extern int zako_sys_file_open(const char* path);
|
||||||
extern uint32_t zako_file_verify_esig(int fd, uint32_t flags);
|
extern uint32_t zako_file_verify_esig(int fd, uint32_t flags);
|
||||||
extern const char* zako_esign_verrcidx2str(uint8_t index);
|
extern const char* zako_esign_verrcidx2str(uint8_t index);
|
||||||
|
|
||||||
@@ -201,7 +201,7 @@ bool verify_module_signature(const char* input) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
int fd = zako_file_open_rw(input);
|
int fd = zako_sys_file_open(input);
|
||||||
if (fd < 0) {
|
if (fd < 0) {
|
||||||
LogDebug("verify_module_signature: failed to open file: %s", input);
|
LogDebug("verify_module_signature: failed to open file: %s", input);
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user