git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8092 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2000-04-02 21:43:18 +00:00
parent 56b5a4ba2a
commit cb34056dd0
2 changed files with 4 additions and 4 deletions

View File

@@ -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;

View File

@@ -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;