diff options
author | 2005-02-25 03:12:43 +0000 | |
---|---|---|
committer | 2005-02-25 03:12:43 +0000 | |
commit | 1e5ede29f718fe4f17c128f8fde29ac3824349f1 (patch) | |
tree | fd6e65cd34239687cd19bb98f99ffdf5a9155023 /lib/libc/crypt | |
parent | Fix an obviously incorrect call to memset. '0' and 0 are not the same (diff) | |
download | wireguard-openbsd-1e5ede29f718fe4f17c128f8fde29ac3824349f1.tar.xz wireguard-openbsd-1e5ede29f718fe4f17c128f8fde29ac3824349f1.zip |
Be correct in our man pages when talking about NUL termination (that is,
termination with '\0') vs. null termination.
Input from krw@, jaredy@, jmc@. OK deraadt@
Diffstat (limited to 'lib/libc/crypt')
-rw-r--r-- | lib/libc/crypt/crypt.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/crypt/crypt.3 b/lib/libc/crypt/crypt.3 index 9908750f076..2bc03fdd41a 100644 --- a/lib/libc/crypt/crypt.3 +++ b/lib/libc/crypt/crypt.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: crypt.3,v 1.22 2004/04/06 11:00:32 djm Exp $ +.\" $OpenBSD: crypt.3,v 1.23 2005/02/25 03:12:43 cloder Exp $ .\" .\" FreeSec: libcrypt .\" @@ -72,7 +72,7 @@ stronger hashing algorithms. The first argument to .Fn crypt is a -.Dv null Ns -terminated +.Dv NUL Ns -terminated string, typically a user's typed password. The second is in one of three forms: if it begins with an underscore @@ -198,8 +198,8 @@ The DES key is used to encrypt a 64-bit constant using iterations of .Tn DES . The value returned is a -.Dv null Ns -terminated -string, 20 or 13 bytes (plus null) in length, consisting of the +.Dv NUL Ns -terminated +string, 20 or 13 bytes (plus NUL) in length, consisting of the .Ar setting followed by the encoded 64-bit encryption. .Pp |