diff --git a/client/crypto/asn1utils.c b/client/crypto/asn1utils.c index 50d257d7e..87fdd8c9d 100644 --- a/client/crypto/asn1utils.c +++ b/client/crypto/asn1utils.c @@ -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) { - struct tlvdb *t = NULL; - t = tlvdb_parse_multi(asn1buf, asn1buflen); + struct tlvdb *t = tlvdb_parse_multi(asn1buf, asn1buflen); if (t) { tlvdb_visit(t, print_cb, NULL, 0); tlvdb_free(t);