Mercurial > pidgin.yaz
comparison src/protocols/oscar/auth.c @ 10467:cbbf5af9e520
[gaim-migrate @ 11747]
Stupid mistake. Hopefully this will enable SecurID for real.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 03 Jan 2005 05:08:03 +0000 |
parents | 61ef9a964574 |
children | de96582ba40a |
comparison
equal
deleted
inserted
replaced
10466:151498407e23 | 10467:cbbf5af9e520 |
---|---|
553 if (!sess || !(conn = aim_getconn_type_all(sess, AIM_CONN_TYPE_AUTH)) || !securid) | 553 if (!sess || !(conn = aim_getconn_type_all(sess, AIM_CONN_TYPE_AUTH)) || !securid) |
554 return -EINVAL; | 554 return -EINVAL; |
555 | 555 |
556 len = strlen(securid); | 556 len = strlen(securid); |
557 | 557 |
558 if (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x01, 10+2+len))) | 558 if (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10+2+len))) |
559 return -ENOMEM; | 559 return -ENOMEM; |
560 | 560 |
561 snacid = aim_cachesnac(sess, AIM_CB_FAM_ATH, AIM_CB_ATH_SECURID_RESPONSE, 0x0000, NULL, 0); | 561 snacid = aim_cachesnac(sess, AIM_CB_FAM_ATH, AIM_CB_ATH_SECURID_RESPONSE, 0x0000, NULL, 0); |
562 aim_putsnac(&fr->data, AIM_CB_FAM_ATH, AIM_CB_ATH_SECURID_RESPONSE, 0x0000, 0); | 562 aim_putsnac(&fr->data, AIM_CB_FAM_ATH, AIM_CB_ATH_SECURID_RESPONSE, 0x0000, 0); |
563 | 563 |