Mercurial > pidgin
comparison src/protocols/yahoo/crypt.c @ 5583:e46efd264489
[gaim-migrate @ 5987]
This really does compile.
committer: Tailor Script <tailor@pidgin.im>
| author | Sean Egan <seanegan@gmail.com> |
|---|---|
| date | Sat, 31 May 2003 04:56:12 +0000 |
| parents | 536bb833fdeb |
| children | 72a5babfa8b4 |
comparison
equal
deleted
inserted
replaced
| 5582:e2f2d8857f9f | 5583:e46efd264489 |
|---|---|
| 35 | 35 |
| 36 /* Table with characters for base64 transformation. */ | 36 /* Table with characters for base64 transformation. */ |
| 37 static const char b64t[64] = | 37 static const char b64t[64] = |
| 38 "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; | 38 "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; |
| 39 | 39 |
| 40 char *yahoo_crypt(char *key, char *salt) | 40 char *yahoo_crypt(const char *key, const char *salt) |
| 41 { | 41 { |
| 42 static char *buffer = NULL; | 42 static char *buffer = NULL; |
| 43 static int buflen = 0; | 43 static int buflen = 0; |
| 44 int needed = 3 + strlen (salt) + 1 + 26 + 1; | 44 int needed = 3 + strlen (salt) + 1 + 26 + 1; |
| 45 | 45 |
