mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Fix crypt passwords
This commit is contained in:
1 parent
b1d21cbdca
commit
6286bfcd6e
3 files changed
+6
-10
No files matched your search
+2
-2
@@ -244,9 +244,9 @@ int strongauth(struct clientparam * param){
|
||||
return 6;
|
||||
}
|
||||
case CR:
|
||||
if (mycrypt(param->password, (unsigned char *)pass, buf) &&
|
||||
if (mycrypt(param->password, (unsigned char *)pass + 1, buf) &&
|
||||
!strcmp(pass + 1, (char *)buf))
|
||||
return 0;
|
||||
return 0;
|
||||
else return 7;
|
||||
#ifdef WITH_SSL
|
||||
case NT:
|
||||
|
||||
Reference in new issue
Block a user