svn rev #22048: tools/gssmonger/trunk/gssmaggot/

raeburn@MIT.EDU raeburn at MIT.EDU
Mon Feb 23 14:56:52 EST 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=22048
Commit By: raeburn
Log Message:
Make some routines static.  Re-enable use of AcquireSleepTime but init to 0.


Changed Files:
U   tools/gssmonger/trunk/gssmaggot/mitkrb5.c
Modified: tools/gssmonger/trunk/gssmaggot/mitkrb5.c
===================================================================
--- tools/gssmonger/trunk/gssmaggot/mitkrb5.c	2009-02-23 19:30:36 UTC (rev 22047)
+++ tools/gssmonger/trunk/gssmaggot/mitkrb5.c	2009-02-23 19:56:52 UTC (rev 22048)
@@ -88,7 +88,7 @@
 
 /* #define CASE_PRESERVING_TEST */
 #define MAXLINELEN     1024    /* max length of a line        */
-ULONG AcquireSleepTime = 1;    /* This is a hack.  See below. */
+ULONG AcquireSleepTime = 0;    /* This is a hack.  See below. */
 LPSTR DumpTicketCommand = (
 #ifdef HEIMDAL
      "klist -v -5"
@@ -209,7 +209,7 @@
 }
 
 
-BOOL
+static BOOL
 PurgeTicketCache( IN PPROTOCOL_CALLBACK_ARGS pArgs ) {
 
     krb5_context    kcontext;
@@ -286,7 +286,7 @@
   
  **************************************************************--*/
 
-ULONG
+static ULONG
 GetCredentialsWithPassword( IN PPROTOCOL_CALLBACK_ARGS  pArgs,
                             IN  LPSTR                   PrincipalName,
                             IN  LPSTR                   Password,
@@ -443,7 +443,7 @@
          error.  Sleeping can mitigate this problem, but it's
          a hack. */
 
-//      sleep( AcquireSleepTime );
+      sleep( AcquireSleepTime );
 
     }
 




More information about the cvs-krb5 mailing list