Skip to content

Commit

Permalink
est resource int use bigendian
Browse files Browse the repository at this point in the history
  • Loading branch information
estkme committed Nov 26, 2023
1 parent ba6d542 commit f28f871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion euicc/es10cex.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ static int _read_ext_resource(uint8_t *buf, int len, uint16_t tag)
ret = 0;
for (int i = 0; i < value_len; i++)
{
ret |= (value[i] << (8 * i));
ret |= (value[i] << (8 * (value_len - i - 1)));
}

return ret;
Expand Down

0 comments on commit f28f871

Please sign in to comment.