size_t clientlen, serverlen;
unsigned int len;
krb5_error_code ret;
- struct k5buf buf;
- char *ptr;
+ struct k5buf buf, extbuf;
+ char *ptr, *extstr;
clientlen = strlen(rep->client);
serverlen = strlen(rep->server);
* in regular format (without the message hash) for the
* benefit of old implementations.
*/
- struct k5buf extbuf;
- char *extstr;
/* Format the extension value so we know its length. */
krb5int_buf_init_dynamic(&extbuf);
FILE *fp;
krb5_deltat lifespan;
krb5_int16 vno;
+ char *str;
+ krb5_int32 usec;
+ krb5_timestamp timestamp;
fp = fopen(filename, "r");
if (!fp) {
return;
printf("Lifespan: %ld\n", (long) lifespan);
while (1) {
- char *str;
- krb5_int32 usec;
- krb5_timestamp timestamp;
-
printf("---\n");
if (!(str = read_counted_string(fp)))
krb5_error_code retval = 0;
char *hash = NULL;
krb5_donot_replay rep;
+ krb5_data d;
if (now_timestamp > 0)
krb5_set_debugging_time(ctx, now_timestamp, now_usec);
if ((retval = krb5_rc_recover_or_initialize(ctx, rc, ctx->clockskew)))
goto cleanup;
if (msg) {
- krb5_data d;
-
d.data = msg;
d.length = strlen(msg);
if ((retval = krb5_rc_hash_message(ctx, &d, &hash)))