diff options
Diffstat (limited to 'lib/libc/gen/crypt.c')
-rw-r--r-- | lib/libc/gen/crypt.c | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/lib/libc/gen/crypt.c b/lib/libc/gen/crypt.c index 1ffb736..c1417b8 100644 --- a/lib/libc/gen/crypt.c +++ b/lib/libc/gen/crypt.c @@ -36,11 +36,12 @@ #if defined(LIBC_SCCS) && !defined(lint) /* from static char sccsid[] = "@(#)crypt.c 5.11 (Berkeley) 6/25/91"; */ -static char rcsid[] = "$Header: /home/ncvs/src/lib/libc/gen/crypt.c,v 1.2 1994/08/22 20:38:00 csgr Exp $"; +static char rcsid[] = "$Header: /home/ncvs/src/lib/libc/gen/crypt.c,v 1.3 1995/05/30 05:40:10 rgrimes Exp $"; #endif /* LIBC_SCCS and not lint */ #include <unistd.h> #include <stdio.h> +#include <string.h> /* * UNIX password, and DES, encryption. @@ -49,6 +50,10 @@ static char rcsid[] = "$Header: /home/ncvs/src/lib/libc/gen/crypt.c,v 1.2 1994/0 * encryption, make sure you've got libcrypt.a around. */ +__warn_references(des_setkey, + "WARNING! des_setkey(3) not present in the system!"); + +int des_setkey(key) register const char *key; { @@ -56,6 +61,10 @@ des_setkey(key) return (0); } +__warn_references(des_cipher, + "WARNING! des_cipher(3) not present in the system!"); + +int des_cipher(in, out, salt, num_iter) const char *in; char *out; @@ -67,6 +76,10 @@ des_cipher(in, out, salt, num_iter) return (0); } +__warn_references(setkey, + "WARNING! setkey(3) not present in the system!"); + +int setkey(key) register const char *key; { @@ -74,6 +87,10 @@ setkey(key) return (0); } +__warn_references(encrypt, + "WARNING! encrypt(3) not present in the system!"); + +int encrypt(block, flag) register char *block; int flag; |