Fix stupid bug initializing asn1 struct.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
e055d4cfc9
commit
151ae5fae4
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ int asn1_ctx_init(uint8_t *data, uint16_t len, asn1_ctx_t *ctx) {
|
|||
return CCID_ERR_NULL_PARAM;
|
||||
}
|
||||
ctx->data = data;
|
||||
ctx->len = 0;
|
||||
ctx->len = len;
|
||||
return CCID_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue