Skip to content
Snippets Groups Projects
Commit 00d36020 authored by Lev Walkin's avatar Lev Walkin
Browse files

logging

parent 443d2512
No related branches found
No related tags found
No related merge requests found
...@@ -145,13 +145,10 @@ ber_check_tags(asn_codec_ctx_t *opt_codec_ctx, ...@@ -145,13 +145,10 @@ ber_check_tags(asn_codec_ctx_t *opt_codec_ctx,
* Fetch and process T from TLV. * Fetch and process T from TLV.
*/ */
tag_len = ber_fetch_tag(ptr, size, &tlv_tag); tag_len = ber_fetch_tag(ptr, size, &tlv_tag);
ASN_DEBUG("Fetching tag from {%p,%ld} %02X..%02X: " ASN_DEBUG("Fetching tag from {%p,%ld}: "
"len %ld, step %d, tag %s", "len %ld, step %d, tagno %d got %s",
ptr, (long)size, ptr, (long)size,
size?*(uint8_t *)ptr:0, (long)tag_len, step, tagno,
((size_t)tag_len<size&&tag_len>0)
?*((uint8_t *)ptr + tag_len):0,
(long)tag_len, step,
ber_tlv_tag_string(tlv_tag)); ber_tlv_tag_string(tlv_tag));
switch(tag_len) { switch(tag_len) {
case -1: RETURN(RC_FAIL); case -1: RETURN(RC_FAIL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment