Commit b0d864c9 authored by Pekka Pessi's avatar Pekka Pessi

Fixed token64_e() prototype in ipt/token64.[hc].

darcs-hash:20051024235521-65a35-09278b39e0c3a3cae9db6d027ff623332c6bc413.gz
parent b0e094fc
......@@ -47,7 +47,7 @@ static const char code[64] =
* Note that a token is case-independent, so this is really not a good idea.
* Use msg_random_token() instead.
*/
int token64_e(char b[], int bsiz, void *data, int dlen)
int token64_e(char b[], int bsiz, void const *data, int dlen)
{
int i, n, slack;
unsigned char const *h = data;
......
......@@ -35,7 +35,7 @@
*
*/
int token64_e(char b[], int bsiz, void *data, int dlen);
int token64_e(char b[], int bsiz, void const *data, int dlen);
/** Calculate size of n bytes encoded in token-64 */
#define TOKEN64_SIZE(n) (((n + 2) / 3) * 4)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment