diff --git a/appl/test/nt_gss_server.c b/appl/test/nt_gss_server.c index 1ecfc3595..dda31570e 100644 --- a/appl/test/nt_gss_server.c +++ b/appl/test/nt_gss_server.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997 - 1999 Kungliga Tekniska Högskolan + * Copyright (c) 1997 - 2000 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * @@ -42,7 +42,7 @@ RCSID("$Id$"); * This program tries to act as a server for the sample in `Sample * SSPI Code' in Windows 2000 RC1 SDK. * - * use --dump-add to get a binary dump of the authorization data in the ticket + * use --dump-auth to get a binary dump of the authorization data in the ticket */ static int help_flag; diff --git a/lib/krb5/init_creds_pw.c b/lib/krb5/init_creds_pw.c index 98c856e40..6accf1137 100644 --- a/lib/krb5/init_creds_pw.c +++ b/lib/krb5/init_creds_pw.c @@ -178,9 +178,9 @@ print_expire (krb5_context context, if (lr->val[i].lr_type == 6 && lr->val[i].lr_value <= t) { char *p; - time_t = lr->val[i].lr_value; + time_t tmp = lr->val[i].lr_value; - asprintf (&p, "Your password will expire at %s", ctime(&t)); + asprintf (&p, "Your password will expire at %s", ctime(&tmp)); (*prompter) (context, data, p, 0, NULL); free (p); return;