Removed old os_strcmp function
#define ZERO(x) memset(&x, 0, sizeof(x))
-static int os_strcmp(const char* s1, const char* s2) {
- size_t size = strlen(s1) + 1;
- return memcmp(s1, s2, size);
-}
-
int handle_check_address(check_address_parameters_t* params, chain_config_t* chain_config) {
PRINTF("Params on the address %d\n", (unsigned int) params);
PRINTF("Address to check %s\n", params->address_to_check);
@@ -69,7 +64,7 @@ int handle_check_address(check_address_parameters_t* params, chain_config_t* cha
offset_0x = 2;
}
- if (os_strcmp(locals_union1.address, params->address_to_check + offset_0x) != 0) {
+ if (strcmp(locals_union1.address, params->address_to_check + offset_0x) != 0) {
PRINTF("Addresses don't match\n");
return 0;
}
