version 1.18, 2011/04/24 19:00:31 |
version 1.19, 2012/01/09 15:25:33 |
Line 96 krb5_context telnet_context; |
|
Line 96 krb5_context telnet_context; |
|
static krb5_auth_context auth_context; |
static krb5_auth_context auth_context; |
|
|
static int |
static int |
Data(Authenticator *ap, int type, void *d, int c) |
Data(Authenticator *ap, int type, const void *d, int c) |
{ |
{ |
unsigned char *p = str_data + 4; |
unsigned char *p = str_data + 4; |
unsigned char *cd = (unsigned char *) d; |
const unsigned char *cd = (const unsigned char *) d; |
|
|
if (c == -1) |
if (c == -1) |
c = strlen(cd); |
c = strlen(cd); |