Changeset 3228 for trunk/module-monitor.c
- Timestamp:
- 09/24/10 21:00:13 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-monitor.c
r3210 r3228 65 65 for (account=cfg->account; (account) && (!client[cs_idx].auth); account=account->next) 66 66 if ((account->monlvl) && 67 (crc==crc32(0L, MD5((unsigned char *)account->usr, strlen(account->usr), NULL), 16)))67 (crc==crc32(0L, MD5((unsigned char *)account->usr, strlen(account->usr), client[cs_idx].dump), 16))) 68 68 { 69 69 memcpy(client[cs_idx].ucrc, ucrc, 4); 70 aes_set_key((char *)MD5((unsigned char *)account->pwd, strlen(account->pwd), NULL));70 aes_set_key((char *)MD5((unsigned char *)account->pwd, strlen(account->pwd), client[cs_idx].dump)); 71 71 if (cs_auth_client(account, NULL)) 72 72 cs_exit(0);
Note:
See TracChangeset
for help on using the changeset viewer.