mirror of
https://github.com/estkme-group/lpac
synced 2024-07-02 14:56:39 +02:00
libeuicc: const interface in ctx
This commit is contained in:
parent
dfac5a477c
commit
c798995d6d
|
@ -8,7 +8,7 @@ struct euicc_ctx
|
|||
{
|
||||
struct
|
||||
{
|
||||
struct euicc_apdu_interface *interface;
|
||||
const struct euicc_apdu_interface *interface;
|
||||
struct
|
||||
{
|
||||
int logic_channel;
|
||||
|
@ -21,7 +21,7 @@ struct euicc_ctx
|
|||
} apdu;
|
||||
struct
|
||||
{
|
||||
struct euicc_http_interface *interface;
|
||||
const struct euicc_http_interface *interface;
|
||||
const char *server_address;
|
||||
struct
|
||||
{
|
||||
|
|
|
@ -56,7 +56,7 @@ static void euicc_apdu_response_print(const struct apdu_response *resp)
|
|||
|
||||
int euicc_apdu_transmit(struct euicc_ctx *ctx, struct apdu_response *response, const struct apdu_request *request, uint32_t request_len)
|
||||
{
|
||||
struct euicc_apdu_interface *in = ctx->apdu.interface;
|
||||
const struct euicc_apdu_interface *in = ctx->apdu.interface;
|
||||
|
||||
memset(response, 0x00, sizeof(*response));
|
||||
|
||||
|
|
Loading…
Reference in a new issue