sc_asn1_put_tag: check the tag name size before composing tag_char
sc_asn1_put_tag: allow to be called with data=NULL