This commit is contained in:
iceman1001 2019-03-18 23:55:53 +01:00
commit b8c5faee92

View file

@ -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);