about summary refs log tree commit diff
path: root/src/misc/crypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/crypt.c')
-rw-r--r--src/misc/crypt.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/misc/crypt.c b/src/misc/crypt.c
deleted file mode 100644
index f1e310f6..00000000
--- a/src/misc/crypt.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <unistd.h>
-#include <crypt.h>
-
-char *__crypt_r(const char *, const char *, struct crypt_data *);
-
-char *crypt(const char *key, const char *salt)
-{
-	/* Note: update this size when we add more hash types */
-	static char buf[128];
-	return __crypt_r(key, salt, (struct crypt_data *)buf);
-}