summaryrefslogtreecommitdiffstats
path: root/lib/libcrypt/crypt.h
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2000-08-22 02:15:54 +0000
committergreen <green@FreeBSD.org>2000-08-22 02:15:54 +0000
commit67c40ef892e23a375a1eeec51d343ef6be31f5d8 (patch)
tree7fd6719b0a54565971e388646c8ae7f62b08674b /lib/libcrypt/crypt.h
parent219e29595a8d293c1e81f0136a866f25a69d648e (diff)
downloadFreeBSD-src-67c40ef892e23a375a1eeec51d343ef6be31f5d8.zip
FreeBSD-src-67c40ef892e23a375a1eeec51d343ef6be31f5d8.tar.gz
Add working and easy crypt(3)-switching. Yes, we need a whole new API
for crypt(3) by now. In any case: Add crypt_set_format(3) + documentation to -lcrypt. Add login_setcryptfmt(3) + documentation to -lutil. Support for switching crypt formats in passwd(8). Support for switching crypt formats in pw(8). The simple synopsis is: edit login.conf; add a passwd_format field set to "des" or "md5"; go nuts :) Reviewed by: peter
Diffstat (limited to 'lib/libcrypt/crypt.h')
-rw-r--r--lib/libcrypt/crypt.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libcrypt/crypt.h b/lib/libcrypt/crypt.h
index 8920986c..3544f89 100644
--- a/lib/libcrypt/crypt.h
+++ b/lib/libcrypt/crypt.h
@@ -29,7 +29,6 @@
/* magic sizes */
#define MD5_SIZE 16
-#define SHS_SIZE 20
char *crypt_des(const char *pw, const char *salt);
char *crypt_md5(const char *pw, const char *salt);
OpenPOWER on IntegriCloud