summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2014-05-16 22:11:00 +0000
committerjmc <jmc@openbsd.org>2014-05-16 22:11:00 +0000
commit76f5fa1349cb6262b2d482de8f3ded320861996f (patch)
tree331f500a350eda4a6e327618112c83759661d85a /lib/libc
parentmore STANDARDS fleshing; ok sobrado millert (diff)
downloadwireguard-openbsd-76f5fa1349cb6262b2d482de8f3ded320861996f.tar.xz
wireguard-openbsd-76f5fa1349cb6262b2d482de8f3ded320861996f.zip
update NAME and MLINKS for previous;
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/crypt/Makefile.inc7
-rw-r--r--lib/libc/crypt/crypt.35
2 files changed, 7 insertions, 5 deletions
diff --git a/lib/libc/crypt/Makefile.inc b/lib/libc/crypt/Makefile.inc
index 3676d7f6466..2ade0951624 100644
--- a/lib/libc/crypt/Makefile.inc
+++ b/lib/libc/crypt/Makefile.inc
@@ -1,13 +1,14 @@
-# $OpenBSD: Makefile.inc,v 1.20 2014/05/12 19:13:14 tedu Exp $
+# $OpenBSD: Makefile.inc,v 1.21 2014/05/16 22:11:00 jmc Exp $
.PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/crypt ${LIBCSRCDIR}/crypt
SRCS+= crypt.c crypt2.c cryptutil.c arc4random.c blowfish.c bcrypt.c
MAN+= crypt.3 blowfish.3 arc4random.3
-MLINKS+=crypt.3 encrypt.3 crypt.3 setkey.3 crypt.3 des_cipher.3
+MLINKS+=crypt.3 setkey.3 crypt.3 crypt_checkpass.3 crypt.3 encrypt.3
+MLINKS+=crypt.3 des_setkey.3 crypt.3 des_cipher.3
MLINKS+=crypt.3 bcrypt_gensalt.3 crypt.3 bcrypt.3
-MLINKS+=crypt.3 des_setkey.3 blowfish.3 blf_key.3 blowfish.3 blf_enc.3
+MLINKS+=blowfish.3 blf_key.3 blowfish.3 blf_enc.3
MLINKS+=blowfish.3 blf_dec.3 blowfish.3 blf_ecb_encrypt.3
MLINKS+=blowfish.3 blf_ecb_decrypt.3 blowfish.3 blf_cbc_encrypt.3
MLINKS+=blowfish.3 blf_cbc_decrypt.3
diff --git a/lib/libc/crypt/crypt.3 b/lib/libc/crypt/crypt.3
index 09d1691b5a8..95eb8c156da 100644
--- a/lib/libc/crypt/crypt.3
+++ b/lib/libc/crypt/crypt.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: crypt.3,v 1.37 2014/05/16 21:34:48 tedu Exp $
+.\" $OpenBSD: crypt.3,v 1.38 2014/05/16 22:11:00 jmc Exp $
.\"
.\" FreeSec: libcrypt
.\"
@@ -36,6 +36,7 @@
.Os
.Sh NAME
.Nm crypt ,
+.Nm crypt_checkpass ,
.Nm setkey ,
.Nm encrypt ,
.Nm des_setkey ,
@@ -100,7 +101,7 @@ Otherwise, the password is hashed and compared to the provided hash.
If the hash is NULL, authentication will always fail, but a default
amount of work is performed to simulate the hashing operation.
A successful match will return 0.
-A failure will return -1 and set errno.
+A failure will return \-1 and set errno.
.Ss Extended crypt
The
.Ar key