Usermode/libposix - Hacking up some functions to compile dropbear
[tpg/acess2.git] / Usermode / Libraries / libposix.so_src / unistd_crypt.c
diff --git a/Usermode/Libraries/libposix.so_src/unistd_crypt.c b/Usermode/Libraries/libposix.so_src/unistd_crypt.c
new file mode 100644 (file)
index 0000000..a5eebfa
--- /dev/null
@@ -0,0 +1,14 @@
+/*
+ * Acess2 POSIX Emulation
+ * - By John Hodge (thePowersGang)
+ *
+ * unistd_crypt.c
+ * - crypt(3)
+ */
+#include <unistd.h>
+
+// === CODE ===
+char *crypt(const char *key, const char *salt)
+{
+       return "YIH14pBTDJvJ6"; // 'password' with the salt YI
+}

UCC git Repository :: git.ucc.asn.au