From 18f9b947daedcc6daa8242d5bdf1a4852a55dfd4 Mon Sep 17 00:00:00 2001 From: Martijn van Duren Date: Wed, 14 Aug 2019 17:21:43 +0000 Subject: Document that ber_scanf_elements' 'p' and 't' attribute don't eat the current ber element. OK claudio@ Seems sensible to deraadt@ --- lib/libutil/ber_get_string.3 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/libutil/ber_get_string.3 b/lib/libutil/ber_get_string.3 index b01f186cb40..16251c18250 100644 --- a/lib/libutil/ber_get_string.3 +++ b/lib/libutil/ber_get_string.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ber_get_string.3,v 1.5 2019/05/21 12:30:07 rob Exp $ +.\" $OpenBSD: ber_get_string.3,v 1.6 2019/08/14 17:21:42 martijn Exp $ .\" .\" Copyright (c) 2007, 2012 Reyk Floeter .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: May 21 2019 $ +.Dd $Mdocdate: August 14 2019 $ .Dt BER_GET_STRING 3 .Os .Sh NAME @@ -107,6 +107,11 @@ and .Sq t , the type of the element is not checked. For +.Sq p , +and +.Sq t +the pointer is not incremented to the next element. +For .Sq e , a pointer to the element is stored in the corresponding pointer variable. For -- cgit v1.2.3