diff options
author | markm <markm@FreeBSD.org> | 2001-03-11 16:05:43 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2001-03-11 16:05:43 +0000 |
commit | 10da32144618e3bcc873be353d69670aff7c3534 (patch) | |
tree | 6cf8481c0eae7ed5de2122e23b4dcaa84a01088b /lib/libcrypt/crypt.c | |
parent | 9695e56e6ca3397d424c5a2b13ce6c65379d11ba (diff) | |
download | FreeBSD-src-10da32144618e3bcc873be353d69670aff7c3534.zip FreeBSD-src-10da32144618e3bcc873be353d69670aff7c3534.tar.gz |
Add OpenBSD-style blowfish password hashing. This makes one less
gratuitous difference between us and our sister project.
This was given to me _ages_ ago. May apologies to Paul for the length
of time its taken me to commit.
Obtained from: Niels Provos <provos@physnet.uni-hamburg.de>/OpenBSD
Submitted by: Paul Herman <pherman@frenchfries.net>
Diffstat (limited to 'lib/libcrypt/crypt.c')
-rw-r--r-- | lib/libcrypt/crypt.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libcrypt/crypt.c b/lib/libcrypt/crypt.c index 6f2846d..0d4c881 100644 --- a/lib/libcrypt/crypt.c +++ b/lib/libcrypt/crypt.c @@ -54,6 +54,13 @@ static const struct { crypt_md5, "$1$" }, +#ifdef HAS_BLOWFISH + { + "blf", + crypt_blowfish, + "$2" + }, +#endif { NULL, NULL |