1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

asn1: Make asn1_peek_tag_needed_size static

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
This commit is contained in:
Volker Lendecke 2016-01-11 21:41:22 +01:00 committed by Uri Simchoni
parent 2aa1cf48fc
commit f7583be442
2 changed files with 2 additions and 2 deletions

View File

@ -543,7 +543,8 @@ bool asn1_peek_tag(struct asn1_data *data, uint8_t tag)
/*
* just get the needed size the tag would consume
*/
bool asn1_peek_tag_needed_size(struct asn1_data *data, uint8_t tag, size_t *size)
static bool asn1_peek_tag_needed_size(struct asn1_data *data, uint8_t tag,
size_t *size)
{
off_t start_ofs = data->ofs;
uint8_t b;

View File

@ -76,7 +76,6 @@ bool asn1_peek(struct asn1_data *data, void *p, int len);
bool asn1_read(struct asn1_data *data, void *p, int len);
bool asn1_read_uint8(struct asn1_data *data, uint8_t *v);
bool asn1_peek_uint8(struct asn1_data *data, uint8_t *v);
bool asn1_peek_tag_needed_size(struct asn1_data *data, uint8_t tag, size_t *size);
bool asn1_peek_tag(struct asn1_data *data, uint8_t tag);
bool asn1_start_tag(struct asn1_data *data, uint8_t tag);
bool asn1_end_tag(struct asn1_data *data);