comparison src/util.c @ 3147:3805d9d344f2

[gaim-migrate @ 3163] Please test this. Yahoo changed it's authentication method and has started disallowing older clients (and third party clients using the older method) to connect to their servers. This impliments the new authentication method so that we won't get blocked from Yahoo, and Indian users (who have already been blocked) can connect again. It's not perfect--it should fail about 1 out of 16 times. It's an easy bug to find and fix, but I want to go to bed now. If you find yourself failing to connect more than this 1 of 16, please let me know, and I'll tell you how to help me debug it. Thanks. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sun, 14 Apr 2002 07:50:48 +0000
parents da324fe688b3
children fb4393b3da5f
comparison
equal deleted inserted replaced
3146:442ae0b81f08 3147:3805d9d344f2
458 return open_gaim_log_file("system", &x); 458 return open_gaim_log_file("system", &x);
459 } 459 }
460 460
461 char alphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" "0123456789+/"; 461 char alphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" "0123456789+/";
462 462
463 463 /* XXX Find bug */
464 char *tobase64(const char *text) 464 char *tobase64(const char *text)
465 { 465 {
466 char *out = NULL; 466 char *out = NULL;
467 const char *c; 467 const char *c;
468 unsigned int tmp = 0; 468 unsigned int tmp = 0;