diff --git a/tools/token.c b/tools/token.c index 366d5a15..12fcb2d2 100644 --- a/tools/token.c +++ b/tools/token.c @@ -169,6 +169,12 @@ print_maxcredcntlst(uint64_t maxcredcntlst) printf("maxcredcntlst: %d\n", (int)maxcredcntlst); } +static void +print_maxcredblob(uint64_t maxcredblob) +{ + printf("maxcredblob: %d\n", (int)maxcredblob); +} + static void print_maxcredidlen(uint64_t maxcredidlen) { @@ -388,6 +394,9 @@ token_info(int argc, char **argv, char *path) /* print maximum length of a credential ID */ print_maxcredidlen(fido_cbor_info_maxcredidlen(ci)); + /* print maximum length of credBlob */ + print_maxcredblob(fido_cbor_info_maxcredbloblen(ci)); + /* print maximum length of serialized largeBlob array */ print_maxlargeblob(fido_cbor_info_maxlargeblob(ci));