summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2014-05-16 22:11:01 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2014-05-16 22:11:01 +0000
commit99bdc0f36ebcce0476bef86772689704b6c5203a (patch)
tree9a3daa5766cb45a4a12df2fe7c91f70f1b18696a /lib
parent7f09329117228ca25900d3ac2829a5427f2b3cff (diff)
update NAME and MLINKS for previous;
Diffstat (limited to 'lib')
-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