libpurple/protocols/zephyr/ZCkAuth.c

changeset 40624
6f7bbd42d36c
parent 40166
811f82db29dd
child 40643
1c9bdf8d3e85
equal deleted inserted replaced
40623:6260f39c7c65 40624:6f7bbd42d36c
14 If it looks authentic but fails the Kerberos check, return -1. 14 If it looks authentic but fails the Kerberos check, return -1.
15 If it looks authentic and passes the Kerberos check, return 1. 15 If it looks authentic and passes the Kerberos check, return 1.
16 If it doesn't look authentic, return 0 16 If it doesn't look authentic, return 0
17 17
18 When not using Kerberos, return true if the notice claims to be authentic. 18 When not using Kerberos, return true if the notice claims to be authentic.
19 Only used by clients; the server uses its own routine.
20 */ 19 */
21 Code_t 20 Code_t
22 ZCheckAuthentication(ZNotice_t *notice, struct sockaddr_in *from) 21 ZCheckAuthentication(ZNotice_t *notice, struct sockaddr_in *from)
23 { 22 {
24 #ifdef ZEPHYR_USES_KERBEROS 23 #ifdef ZEPHYR_USES_KERBEROS

mercurial