summaryrefslogtreecommitdiff
path: root/lib/libskey
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-05-24 21:32:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-05-24 21:32:41 +0000
commit01b1abd9f2b70e9d276f906d18bfc030e7584763 (patch)
tree7a38fc537629e694e49445204d0b665360246fcd /lib/libskey
parentcc5f18b1772325f94cc7f8a97f8ba4acc9a0d53c (diff)
doc that skeychallenge() buffer is at least SKEY_MAX_CHALLENGE long
Diffstat (limited to 'lib/libskey')
-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.