From b0e6e73d1c9c4c21a904123ff1130080dda03a77 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Wed, 12 Aug 2009 22:13:50 +0000 Subject: [PATCH] ITS#6215 cleanup: Export ber_skip_element() to complement ber_peek_element() --- libraries/liblber/decode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/liblber/decode.c b/libraries/liblber/decode.c index b0b7cf5769..386f3761ee 100644 --- a/libraries/liblber/decode.c +++ b/libraries/liblber/decode.c @@ -219,9 +219,9 @@ ber_peek_element( const BerElement *ber, struct berval *bv ) /* Move past next element, point *bv at it in-place, and return its tag. * The caller may \0-terminate *bv, as next octet is saved in ber->ber_tag. - * See ber_get_stringbv(ber, bv, LBER_BV_NOTERM) for an exported wrapper. + * Similar to ber_get_stringbv(ber, bv, LBER_BV_NOTERM) except on error. */ -static ber_tag_t +ber_tag_t ber_skip_element( BerElement *ber, struct berval *bv ) { ber_tag_t tag = ber_peek_element( ber, bv ); -- 2.39.5