CVS commit: src/crypto/dist/heimdal/kuser

2011-01-31 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Jan 31 09:57:30 UTC 2011

Modified Files:
src/crypto/dist/heimdal/kuser: kimpersonate.1

Log Message:
fix grammar in the same sentence as the previous patch, noted by jdc


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/crypto/dist/heimdal/kuser/kimpersonate.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/dist/heimdal/kuser/kimpersonate.1
diff -u src/crypto/dist/heimdal/kuser/kimpersonate.1:1.4 src/crypto/dist/heimdal/kuser/kimpersonate.1:1.5
--- src/crypto/dist/heimdal/kuser/kimpersonate.1:1.4	Mon Jan 31 06:05:54 2011
+++ src/crypto/dist/heimdal/kuser/kimpersonate.1	Mon Jan 31 09:57:29 2011
@@ -30,7 +30,7 @@
 .\ SUCH DAMAGE. 
 .\ 
 .\ $Heimdal: kimpersonate.1 20259 2007-02-17 23:49:54Z lha $
-.\ $NetBSD: kimpersonate.1,v 1.4 2011/01/31 06:05:54 dholland Exp $
+.\ $NetBSD: kimpersonate.1,v 1.5 2011/01/31 09:57:29 dholland Exp $
 .\
 .Dd September 18, 2006
 .Dt KIMPERSONATE 1
@@ -88,9 +88,9 @@
 .Pa /etc/srvtab
 and
 .Pa /usr/afs/etc/KeyFile
-when available and the the
+when available and the
 .Fl k
-is used with appropriate prefix.
+option is used with an appropriate prefix.
 .Sh EXAMPLES
 .Nm
 can be used in



CVS commit: src/crypto/dist/heimdal/kuser

2011-01-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Jan 31 06:05:54 UTC 2011

Modified Files:
src/crypto/dist/heimdal/kuser: kimpersonate.1

Log Message:
typo fix, from Ryo HAYASAKA in PR 44495.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/crypto/dist/heimdal/kuser/kimpersonate.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/dist/heimdal/kuser/kimpersonate.1
diff -u src/crypto/dist/heimdal/kuser/kimpersonate.1:1.3 src/crypto/dist/heimdal/kuser/kimpersonate.1:1.4
--- src/crypto/dist/heimdal/kuser/kimpersonate.1:1.3	Sat Oct 24 11:09:31 2009
+++ src/crypto/dist/heimdal/kuser/kimpersonate.1	Mon Jan 31 06:05:54 2011
@@ -30,7 +30,7 @@
 .\ SUCH DAMAGE. 
 .\ 
 .\ $Heimdal: kimpersonate.1 20259 2007-02-17 23:49:54Z lha $
-.\ $NetBSD: kimpersonate.1,v 1.3 2009/10/24 11:09:31 reed Exp $
+.\ $NetBSD: kimpersonate.1,v 1.4 2011/01/31 06:05:54 dholland Exp $
 .\
 .Dd September 18, 2006
 .Dt KIMPERSONATE 1
@@ -88,7 +88,7 @@
 .Pa /etc/srvtab
 and
 .Pa /usr/afs/etc/KeyFile
-when avalible and the the
+when available and the the
 .Fl k
 is used with appropriate prefix.
 .Sh EXAMPLES



CVS commit: src/crypto/dist/heimdal/kuser

2011-01-28 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Sat Jan 29 04:00:19 UTC 2011

Modified Files:
src/crypto/dist/heimdal/kuser: kgetcred.1

Log Message:
PR/44482 - Ryo HAYASAKA -- typo


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/crypto/dist/heimdal/kuser/kgetcred.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/dist/heimdal/kuser/kgetcred.1
diff -u src/crypto/dist/heimdal/kuser/kgetcred.1:1.8 src/crypto/dist/heimdal/kuser/kgetcred.1:1.9
--- src/crypto/dist/heimdal/kuser/kgetcred.1:1.8	Wed Oct 14 23:37:33 2009
+++ src/crypto/dist/heimdal/kuser/kgetcred.1	Sat Jan 29 04:00:19 2011
@@ -30,7 +30,7 @@
 .\ SUCH DAMAGE. 
 .\ 
 .\ $Heimdal: kgetcred.1 14090 2004-08-05 18:49:47Z lha $
-.\ $NetBSD: kgetcred.1,v 1.8 2009/10/14 23:37:33 joerg Exp $
+.\ $NetBSD: kgetcred.1,v 1.9 2011/01/29 04:00:19 jnemeth Exp $
 .\
 .Dd March 12, 2004
 .Dt KGETCRED 1
@@ -69,7 +69,7 @@
 .It Fl e Ar enctype , Fl -enctype= Ns Ar enctype
 encryption type to use.
 .It Fl -no-transit-check
-requests that the KDC doesn't do trasnit checking.
+requests that the KDC doesn't do transit checking.
 .It Fl -version
 .It Fl -help
 .El



CVS commit: src/crypto/dist/heimdal/kuser

2011-01-26 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jan 26 09:56:52 UTC 2011

Modified Files:
src/crypto/dist/heimdal/kuser: kdestroy.1

Log Message:
Fix typo in Nd. From Ryo HAYASAKA in PR 44462.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/crypto/dist/heimdal/kuser/kdestroy.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/dist/heimdal/kuser/kdestroy.1
diff -u src/crypto/dist/heimdal/kuser/kdestroy.1:1.7 src/crypto/dist/heimdal/kuser/kdestroy.1:1.8
--- src/crypto/dist/heimdal/kuser/kdestroy.1:1.7	Sat Mar 22 08:37:03 2008
+++ src/crypto/dist/heimdal/kuser/kdestroy.1	Wed Jan 26 09:56:51 2011
@@ -30,14 +30,14 @@
 .\ SUCH DAMAGE. 
 .\ 
 .\ $Heimdal: kdestroy.1 22071 2007-11-14 20:04:50Z lha $
-.\ $NetBSD: kdestroy.1,v 1.7 2008/03/22 08:37:03 mlelstv Exp $
+.\ $NetBSD: kdestroy.1,v 1.8 2011/01/26 09:56:51 wiz Exp $
 .\
 .Dd April 27, 2006
 .Dt KDESTROY 1
 .Os
 .Sh NAME
 .Nm kdestroy
-.Nd remove one credental or destroy the current ticket file
+.Nd remove one credential or destroy the current ticket file
 .Sh SYNOPSIS
 .Nm
 .Bk -words



CVS commit: src/crypto/dist/heimdal/kuser

2010-04-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr  2 15:23:18 UTC 2010

Modified Files:
src/crypto/dist/heimdal/kuser: klist.c

Log Message:
handle ctime returning NULL.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/crypto/dist/heimdal/kuser/klist.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/dist/heimdal/kuser/klist.c
diff -u src/crypto/dist/heimdal/kuser/klist.c:1.9 src/crypto/dist/heimdal/kuser/klist.c:1.10
--- src/crypto/dist/heimdal/kuser/klist.c:1.9	Sat Mar 22 04:37:03 2008
+++ src/crypto/dist/heimdal/kuser/klist.c	Fri Apr  2 11:23:17 2010
@@ -35,24 +35,32 @@
 #include rtbl.h
 
 __RCSID($Heimdal: klist.c 20516 2007-04-22 10:40:41Z lha $
-$NetBSD: klist.c,v 1.9 2008/03/22 08:37:03 mlelstv Exp $);
+$NetBSD: klist.c,v 1.10 2010/04/02 15:23:17 christos Exp $);
 
 static char*
-printable_time(time_t t)
+printable_time_internal(time_t t, int x)
 {
 static char s[128];
-strlcpy(s, ctime(t)+ 4, sizeof(s));
-s[15] = 0;
+char *p = ctime(t);
+if (p == NULL)
+	strlcpy(s, ?, sizeof(s));
+else {
+	strlcpy(s, p + 4, sizeof(s));
+	s[x] = 0;
+}
 return s;
 }
 
 static char*
+printable_time(time_t t)
+{
+return printable_time_internal(t, 15);
+}
+
+static char*
 printable_time_long(time_t t)
 {
-static char s[128];
-strlcpy(s, ctime(t)+ 4, sizeof(s));
-s[20] = 0;
-return s;
+return printable_time_internal(t, 20);
 }
 
 #define COL_ISSUED		  Issued



CVS commit: src/crypto/dist/heimdal/kuser

2010-04-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr  2 15:25:04 UTC 2010

Modified Files:
src/crypto/dist/heimdal/kuser: klist.c

Log Message:
make it obvious to grep that ctime is being checked.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/crypto/dist/heimdal/kuser/klist.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/dist/heimdal/kuser/klist.c
diff -u src/crypto/dist/heimdal/kuser/klist.c:1.10 src/crypto/dist/heimdal/kuser/klist.c:1.11
--- src/crypto/dist/heimdal/kuser/klist.c:1.10	Fri Apr  2 11:23:17 2010
+++ src/crypto/dist/heimdal/kuser/klist.c	Fri Apr  2 11:25:04 2010
@@ -35,14 +35,14 @@
 #include rtbl.h
 
 __RCSID($Heimdal: klist.c 20516 2007-04-22 10:40:41Z lha $
-$NetBSD: klist.c,v 1.10 2010/04/02 15:23:17 christos Exp $);
+$NetBSD: klist.c,v 1.11 2010/04/02 15:25:04 christos Exp $);
 
 static char*
 printable_time_internal(time_t t, int x)
 {
 static char s[128];
-char *p = ctime(t);
-if (p == NULL)
+char *p;
+if ((p = ctime(t)) == NULL)
 	strlcpy(s, ?, sizeof(s));
 else {
 	strlcpy(s, p + 4, sizeof(s));



CVS commit: src/crypto/dist/heimdal/kuser

2009-10-24 Thread Jeremy C. Reed
Module Name:src
Committed By:   reed
Date:   Sat Oct 24 11:09:31 UTC 2009

Modified Files:
src/crypto/dist/heimdal/kuser: kimpersonate.1

Log Message:
Fix Document Title.
(I already report and it is fixed upstream.)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/crypto/dist/heimdal/kuser/kimpersonate.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/dist/heimdal/kuser/kimpersonate.1
diff -u src/crypto/dist/heimdal/kuser/kimpersonate.1:1.2 src/crypto/dist/heimdal/kuser/kimpersonate.1:1.3
--- src/crypto/dist/heimdal/kuser/kimpersonate.1:1.2	Wed Oct 14 23:37:33 2009
+++ src/crypto/dist/heimdal/kuser/kimpersonate.1	Sat Oct 24 11:09:31 2009
@@ -30,10 +30,10 @@
 .\ SUCH DAMAGE. 
 .\ 
 .\ $Heimdal: kimpersonate.1 20259 2007-02-17 23:49:54Z lha $
-.\ $NetBSD: kimpersonate.1,v 1.2 2009/10/14 23:37:33 joerg Exp $
+.\ $NetBSD: kimpersonate.1,v 1.3 2009/10/24 11:09:31 reed Exp $
 .\
 .Dd September 18, 2006
-.Dt KERBEROS 1
+.Dt KIMPERSONATE 1
 .Os Heimdal
 .Sh NAME
 .Nm kimpersonate