exit(1);
}
- if (retval = krb5_get_server_rcache(sprinc[1]->data, &rcache)) {
+ if (retval = krb5_get_server_rcache(sprinc[1], &rcache)) {
com_err(PROGNAME, retval, "while opening replay cache");
exit(1);
}
krb5_error_code krb5_generate_seq_number
PROTOTYPE((const krb5_keyblock *, krb5_int32 *));
krb5_error_code krb5_get_server_rcache
- PROTOTYPE((const char *, krb5_rcache *));
+ PROTOTYPE((const krb5_data *, krb5_rcache *));
krb5_error_code krb5_build_principal_ext
STDARG_P((krb5_principal *, int, const char *, ...));
krb5_error_code krb5_build_principal
/*
* Setup the replay cache.
*/
- if (*minor_status = krb5_get_server_rcache(server[1]->data,
+ if (*minor_status = krb5_get_server_rcache(server[1],
&rcache))
return(GSS_S_FAILURE);
/*
}
- if (r = krb5_get_server_rcache(inet_ntoa(sender->sin_addr),
+ out5.data = inet_ntoa(sender->sin_addr);
+ out5.length = strlen(out5.data);
+ if (r = krb5_get_server_rcache(&out5,
&rcache)) {
krb5_free_address(saddr2);
#ifdef EBUG
return(-1);
}
- if (r = krb5_get_server_rcache(inet_ntoa(sender->sin_addr),
+ out5.data = inet_ntoa(sender->sin_addr);
+ out5.length = strlen(out5.data);
+ if (r = krb5_get_server_rcache(&out5,
&rcache)) {
krb5_free_address(saddr2);
#ifdef EBUG
return(krb425error(ENOMEM));
}
- if (r = krb5_get_server_rcache(cachename,
+ out.data = cachename;
+ out.length = strlen(cachename);
+ if (r = krb5_get_server_rcache(&out,
&rcache)) {
krb5_free_address(saddr2);
#ifdef EBUG
return(krb425error(ENOMEM));
}
- if (r = krb5_get_server_rcache(cachename,
+ out.data = cachename;
+ out.length = strlen(cachename);
+ if (r = krb5_get_server_rcache(&out,
&rcache)) {
krb5_free_address(saddr2);
#ifdef EBUG
return(retval);
}
}
- if (!(retval = krb5_get_server_rcache(server[1]->data, &rcache))) {
+ if (!(retval = krb5_get_server_rcache(server[1], &rcache))) {
retval = krb5_rd_req_decoded(request, server,
sender_addr, 0,
0, 0, rcache, authdat);