lib/util/asn1: add asn1_peek_tag_needed_size() and asn1_peek_full_tag()
commit182a69c5be7706fbb542694c7be51d499b61c98d
authorStefan Metzmacher <metze@samba.org>
Thu, 23 Sep 2010 16:10:28 +0000 (23 18:10 +0200)
committerStefan Metzmacher <metze@samba.org>
Sun, 26 Sep 2010 04:45:39 +0000 (26 06:45 +0200)
tree16e0d4c7b1bd34ba5a11915ffc8565d3d56bed82
parente628bf1081929684d888353101296cc17d9f3ae4
lib/util/asn1: add asn1_peek_tag_needed_size() and asn1_peek_full_tag()

We need a way to ask for the length of a tag without having the full
buffer yet.

metze
lib/util/asn1.c
lib/util/asn1.h