diff options
Diffstat (limited to 'lib/libc/gen/crypt.c')
-rw-r--r-- | lib/libc/gen/crypt.c | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/lib/libc/gen/crypt.c b/lib/libc/gen/crypt.c index 1aad9c6..c1417b8 100644 --- a/lib/libc/gen/crypt.c +++ b/lib/libc/gen/crypt.c @@ -36,19 +36,24 @@ #if defined(LIBC_SCCS) && !defined(lint) /* from static char sccsid[] = "@(#)crypt.c 5.11 (Berkeley) 6/25/91"; */ -static char rcsid[] = "$Header: /a/cvs/386BSD/src/lib/libc/gen/crypt.c,v 1.6 1993/08/29 22:03:56 nate 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. - * + * * since this is non-exportable, this is just a dummy. if you want real * 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; |