You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
349 B

diff -ur ocserv-0.8.9/src/ocpasswd.c ocserv-0.8.9.new/src/ocpasswd.c
--- ocserv-0.8.9/src/ocpasswd.c 2014-11-29 19:49:38.000000000 +0100
+++ ocserv-0.8.9.new/src/ocpasswd.c 2015-01-19 23:21:14.959144113 +0100
@@ -69,7 +69,7 @@
exit(1);
}
- strcpy(salt, "$5$");
+ strcpy(salt, "$1$");
p = salt + 3;
for (i = 0; i < sizeof(_salt); i++) {