X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2Flibposix.so_src%2Funistd_crypt.c;h=ba58a520faf1c4e7dbfb634bc099b88444ade992;hb=92c5980925e773c6e1d6775c50c9d86c77b84d23;hp=a5eebfa222aecf138ba34ca100af6fccaeb4f830;hpb=e7a76b0d8a0cc6aa77966509780973a6f8216ef7;p=tpg%2Facess2.git diff --git a/Usermode/Libraries/libposix.so_src/unistd_crypt.c b/Usermode/Libraries/libposix.so_src/unistd_crypt.c index a5eebfa2..ba58a520 100644 --- a/Usermode/Libraries/libposix.so_src/unistd_crypt.c +++ b/Usermode/Libraries/libposix.so_src/unistd_crypt.c @@ -10,5 +10,12 @@ // === CODE === char *crypt(const char *key, const char *salt) { + if( *salt == '$' ) + { + // $x$salt$ + // x=1 : MD5 + // x=5 : SHA-256 + // x=6 : SHA-512 + } return "YIH14pBTDJvJ6"; // 'password' with the salt YI }