summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2002-05-24 21:32:40 +0000
committerderaadt <deraadt@openbsd.org>2002-05-24 21:32:40 +0000
commitee22a949ce36e46a74356378723a4020cd666eed (patch)
tree35b6e8cce7d88ecf7f342dc99a5d8f33e106a217
parentstrlcpy and KNF (diff)
downloadwireguard-openbsd-ee22a949ce36e46a74356378723a4020cd666eed.tar.xz
wireguard-openbsd-ee22a949ce36e46a74356378723a4020cd666eed.zip
doc that skeychallenge() buffer is at least SKEY_MAX_CHALLENGE long
-rw-r--r--lib/libskey/skey.35
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libskey/skey.3 b/lib/libskey/skey.3
index b4bcd8fa9c4..e587e6fa0cd 100644
--- a/lib/libskey/skey.3
+++ b/lib/libskey/skey.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: skey.3,v 1.5 2002/05/17 15:51:06 millert Exp $
+.\" $OpenBSD: skey.3,v 1.6 2002/05/24 21:32:40 deraadt Exp $
.\"
.\" Copyright (c) 2001 Todd C. Miller <Todd.Miller@courtesan.com>
.\" All rights reserved.
@@ -306,7 +306,8 @@ The
function stores the (potentially fake) S/Key challenge for
.Fa user
in
-.Fa buf .
+.Fa buf ,
+which is at least SKEY_MAX_CHALLENGE bytes long.
It also fills in the skey struct
.Fa rec
and locks the user's record in the S/Key database.