summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-10-15 17:27:44 +0000
committermillert <millert@openbsd.org>2002-10-15 17:27:44 +0000
commita2f5e2afc063e19c6998491c7ca13c4ffd43b374 (patch)
tree6beeae086114b92ccc3bc4cb1206e731f426bd98 /lib/libc
parentCast NULL sentinel in auth_call() to a pointer (diff)
downloadwireguard-openbsd-a2f5e2afc063e19c6998491c7ca13c4ffd43b374.tar.xz
wireguard-openbsd-a2f5e2afc063e19c6998491c7ca13c4ffd43b374.zip
Note that when calling auth_verify() with a style and/or username,
the old values in the auth session will get freed and the new values added.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/authenticate.37
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/gen/authenticate.3 b/lib/libc/gen/authenticate.3
index f1617e87497..e6d6a4c4cc7 100644
--- a/lib/libc/gen/authenticate.3
+++ b/lib/libc/gen/authenticate.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: authenticate.3,v 1.4 2002/03/16 18:30:35 millert Exp $
+.\" $OpenBSD: authenticate.3,v 1.5 2002/10/15 17:27:44 millert Exp $
.\"
.\" Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved.
.\"
@@ -247,6 +247,11 @@ and
.Ar name
arguments, if not
.Dv NULL .
+Values for the style and user name in an existing BSD Authentication
+session will be replaced and the old values freed (if the calling program
+has obtained pointers to the style or user name via
+.Xr auth_getitem 3 ,
+those pointers will become invalid).
The variable arguments are passed to
.Fn auth_call
via the