Closed quite closed 1 year ago
This ought to be of type size_t and not enum cmdlen: https://github.com/tillitis/tkey-libs/blob/main/include/proto.h#L33
size_t
enum cmdlen
Judging from its decoding https://github.com/tillitis/tkey-libs/blob/main/libcommon/proto.c#L38 And typical use: https://github.com/tillitis/tkey-device-signer/blob/main/signer/main.c#L114
This ought to be of type
size_t
and notenum cmdlen
: https://github.com/tillitis/tkey-libs/blob/main/include/proto.h#L33Judging from its decoding https://github.com/tillitis/tkey-libs/blob/main/libcommon/proto.c#L38 And typical use: https://github.com/tillitis/tkey-device-signer/blob/main/signer/main.c#L114