diff src/protocols/yahoo/yahoo.c @ 2795:536bb833fdeb

[gaim-migrate @ 2808] i hate solaris committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 26 Nov 2001 23:18:36 +0000
parents 318f846120e2
children 9b3c7d2a6e9a
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Mon Nov 26 22:33:21 2001 +0000
+++ b/src/protocols/yahoo/yahoo.c	Mon Nov 26 23:18:36 2001 +0000
@@ -37,14 +37,13 @@
 #include <sys/socket.h>
 #include <sys/stat.h>
 #include <ctype.h>
-#if HAVE_CRYPT_H
-#include <crypt.h>
-#endif
 #include "multi.h"
 #include "prpl.h"
 #include "gaim.h"
 #include "proxy.h"
 
+extern char *yahoo_crypt(char *, char *);
+
 #include "pixmaps/status-away.xpm"
 #include "pixmaps/status-here.xpm"
 #include "pixmaps/status-idle.xpm"
@@ -782,7 +781,7 @@
 
 	yahoo_packet_hash(pkt, 0, gc->username);
 	yahoo_packet_hash(pkt, 1, gc->username);
-	yahoo_packet_hash(pkt, 6, crypt(gc->password, "$1$_2S43d5f$"));
+	yahoo_packet_hash(pkt, 6, yahoo_crypt(gc->password, "$1$_2S43d5f$"));
 
 	yahoo_send_packet(yd, pkt);