getpass: several fixes
[uclibc-ng.git] / libcrypt / crypt_stub.c
blob76645a0463fb61f5288ba2288d24a930207fff85
1 /* vi: set sw=4 ts=4: */
2 /*
3 * crypt() for uClibc
4 * Copyright (C) 2008 by Erik Andersen <andersen@uclibc.org>
5 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
6 */
8 #define __FORCE_GLIBC
9 #include <crypt.h>
10 #include <unistd.h>
11 #include "libcrypt.h"
12 #include <syscall.h>
14 char *crypt(const char *key attribute_unused, const char *salt attribute_unused)
16 __set_errno(ENOSYS);
17 return NULL;
20 void
21 setkey(const char *key attribute_unused)
23 __set_errno(ENOSYS);
26 void
27 encrypt(char *block attribute_unused, int flag attribute_unused)
29 __set_errno(ENOSYS);