summaryrefslogtreecommitdiffstats
path: root/include/unistd.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 /include/unistd.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 'include/unistd.h')
-rw-r--r--include/unistd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 45679e5..274c98d 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -120,6 +120,8 @@ char *brk __P((const char *));
int chroot __P((const char *));
size_t confstr __P((int, char *, size_t));
char *crypt __P((const char *, const char *));
+const char *crypt_get_format __P((void));
+int crypt_set_format __P((const char *));
int des_cipher __P((const char *, char *, long, int));
int des_setkey __P((const char *key));
int encrypt __P((char *, int));
OpenPOWER on IntegriCloud