style
This commit is contained in:
@@ -73,8 +73,7 @@ static bool print_cb(void *data, const struct tlv *tlv, int level, bool is_leaf)
|
|||||||
|
|
||||||
int asn1_print(uint8_t *asn1buf, size_t asn1buflen, char *indent) {
|
int asn1_print(uint8_t *asn1buf, size_t asn1buflen, char *indent) {
|
||||||
|
|
||||||
struct tlvdb *t = NULL;
|
struct tlvdb *t = tlvdb_parse_multi(asn1buf, asn1buflen);
|
||||||
t = tlvdb_parse_multi(asn1buf, asn1buflen);
|
|
||||||
if (t) {
|
if (t) {
|
||||||
tlvdb_visit(t, print_cb, NULL, 0);
|
tlvdb_visit(t, print_cb, NULL, 0);
|
||||||
tlvdb_free(t);
|
tlvdb_free(t);
|
||||||
|
|||||||
Reference in New Issue
Block a user