svn rev #21779: trunk/src/ include/ lib/gssapi/krb5/ lib/krb5/asn.1/ lib/krb5/rcache/ ...

tlyu@MIT.EDU tlyu at MIT.EDU
Thu Jan 22 18:37:44 EST 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=21779
Commit By: tlyu
Log Message:
fix trailing whitespace


Changed Files:
U   trunk/src/include/k5-buf.h
U   trunk/src/lib/gssapi/krb5/accept_sec_context.c
U   trunk/src/lib/gssapi/krb5/acquire_cred.c
U   trunk/src/lib/gssapi/krb5/copy_ccache.c
U   trunk/src/lib/gssapi/krb5/gssapi_krb5.c
U   trunk/src/lib/gssapi/krb5/k5sealiov.c
U   trunk/src/lib/gssapi/krb5/k5sealv3iov.c
U   trunk/src/lib/gssapi/krb5/k5unsealiov.c
U   trunk/src/lib/gssapi/krb5/krb5_gss_glue.c
U   trunk/src/lib/gssapi/krb5/util_crypt.c
U   trunk/src/lib/krb5/asn.1/asn1_decode.c
U   trunk/src/lib/krb5/asn.1/asn1_k_encode.c
U   trunk/src/lib/krb5/rcache/rc_dfl.c
U   trunk/src/lib/krb5/rcache/rcdef.c
U   trunk/src/lib/krb5/rcache/t_replay.c
U   trunk/src/util/support/k5buf-int.h
U   trunk/src/util/support/k5buf.c
U   trunk/src/util/support/t_k5buf.c
Modified: trunk/src/include/k5-buf.h
===================================================================
--- trunk/src/include/k5-buf.h	2009-01-22 23:21:11 UTC (rev 21778)
+++ trunk/src/include/k5-buf.h	2009-01-22 23:37:35 UTC (rev 21779)
@@ -9,7 +9,7 @@
  *   require a specific license from the United States Government.
  *   It is the responsibility of any person or organization contemplating
  *   export to obtain such a license before exporting.
- * 
+ *
  * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
  * distribute this software and its documentation for any purpose and
  * without fee is hereby granted, provided that the above copyright
@@ -23,8 +23,8 @@
  * M.I.T. makes no representations about the suitability of
  * this software for any purpose.  It is provided "as is" without express
  * or implied warranty.
- * 
  *
+ *
  * k5buf string buffer module interface
  */
 

Modified: trunk/src/lib/gssapi/krb5/accept_sec_context.c
===================================================================
--- trunk/src/lib/gssapi/krb5/accept_sec_context.c	2009-01-22 23:21:11 UTC (rev 21778)
+++ trunk/src/lib/gssapi/krb5/accept_sec_context.c	2009-01-22 23:37:35 UTC (rev 21779)
@@ -335,7 +335,7 @@
    /* real failure code follows */
 
    if (ctx)
-       (void) krb5_gss_delete_sec_context(minor_status, 
+       (void) krb5_gss_delete_sec_context(minor_status,
                                           (gss_ctx_id_t *) &ctx, NULL);
    *context_handle = GSS_C_NO_CONTEXT;
    *minor_status = code;
@@ -910,7 +910,7 @@
          * DCE_STYLE implies that we will use a subkey.)
          */
         if (ctx->proto == 0 &&
-            (ctx->gss_flags & GSS_C_DCE_STYLE) == 0 && 
+            (ctx->gss_flags & GSS_C_DCE_STYLE) == 0 &&
             (ap_req_options & AP_OPTS_USE_SUBKEY)) {
             code = (*kaccess.krb5_auth_con_get_subkey_enctype) (context,
                                                                 auth_context,

Modified: trunk/src/lib/gssapi/krb5/acquire_cred.c
===================================================================
--- trunk/src/lib/gssapi/krb5/acquire_cred.c	2009-01-22 23:21:11 UTC (rev 21778)
+++ trunk/src/lib/gssapi/krb5/acquire_cred.c	2009-01-22 23:37:35 UTC (rev 21779)
@@ -264,11 +264,11 @@
         if (!err) {
             err = kim_ccache_create_from_client_identity (&kimccache, identity);
         }
-        
+
         if (!err) {
             err = kim_ccache_get_state (kimccache, &state);
         }
-        
+
         if (!err && state != kim_credentials_state_valid) {
             if (state == kim_credentials_state_needs_validation) {
                 err = kim_ccache_validate (kimccache, KIM_OPTIONS_DEFAULT);
@@ -277,13 +277,13 @@
                 ccache = NULL;
             }
         }
-        
+
         if (!kimccache && kim_library_allow_automatic_prompting ()) {
             /* ccache does not already exist, create a new one */
-            err = kim_ccache_create_new (&kimccache, identity, 
+            err = kim_ccache_create_new (&kimccache, identity,
                                          KIM_OPTIONS_DEFAULT);
-        }        
-        
+        }
+
         if (!err) {
             err = kim_ccache_get_krb5_ccache (kimccache, context, &ccache);
         }

Modified: trunk/src/lib/gssapi/krb5/copy_ccache.c
===================================================================
--- trunk/src/lib/gssapi/krb5/copy_ccache.c	2009-01-22 23:21:11 UTC (rev 21778)
+++ trunk/src/lib/gssapi/krb5/copy_ccache.c	2009-01-22 23:37:35 UTC (rev 21779)
@@ -13,7 +13,7 @@
     krb5_error_code code;
     krb5_context context;
     krb5_ccache out_ccache;
-        
+
     assert(value->length == sizeof(out_ccache));
 
     if (value->length != sizeof(out_ccache))

Modified: trunk/src/lib/gssapi/krb5/gssapi_krb5.c
===================================================================
--- trunk/src/lib/gssapi/krb5/gssapi_krb5.c	2009-01-22 23:21:11 UTC (rev 21778)
+++ trunk/src/lib/gssapi/krb5/gssapi_krb5.c	2009-01-22 23:37:35 UTC (rev 21779)
@@ -380,7 +380,7 @@
 
     *minor_status = EINVAL;
 
-    return GSS_S_UNAVAILABLE; 
+    return GSS_S_UNAVAILABLE;
 }
 
 /*
@@ -500,7 +500,7 @@
 
     *minor_status = EINVAL;
 
-    return GSS_S_UNAVAILABLE; 
+    return GSS_S_UNAVAILABLE;
 }
 
 /*
@@ -626,7 +626,7 @@
 
 static struct gss_config krb5_mechanism = {
     { GSS_MECH_KRB5_OID_LENGTH, GSS_MECH_KRB5_OID },
-    NULL,                                               
+    NULL,
     krb5_gss_acquire_cred,
     krb5_gss_release_cred,
     krb5_gss_init_sec_context,
@@ -674,8 +674,8 @@
     krb5_gss_set_sec_context_option,
     krb5_gssspi_set_cred_option,
     krb5_gssspi_mech_invoke,
-    NULL,                /* wrap_aead */        
-    NULL,                /* unwrap_aead */      
+    NULL,                /* wrap_aead */
+    NULL,                /* unwrap_aead */
     krb5_gss_wrap_iov,
     krb5_gss_unwrap_iov,
     krb5_gss_wrap_iov_length,
@@ -797,4 +797,3 @@
     return CALL_INIT_FUNCTION(gss_krb5int_lib_init);
 #endif
 }
-

Modified: trunk/src/lib/gssapi/krb5/k5sealiov.c
===================================================================
--- trunk/src/lib/gssapi/krb5/k5sealiov.c	2009-01-22 23:21:11 UTC (rev 21778)
+++ trunk/src/lib/gssapi/krb5/k5sealiov.c	2009-01-22 23:37:35 UTC (rev 21779)
@@ -449,7 +449,7 @@
                 *minor_status = code;
                 return GSS_S_FAILURE;
             }
-         
+
             if (k5_padlen == 0 && dce_style) {
                 /* Windows rejects AEAD tokens with non-zero EC */
                 code = krb5_c_block_size(context, enctype, &ec);
@@ -514,4 +514,3 @@
 
     return GSS_S_COMPLETE;
 }
-

Modified: trunk/src/lib/gssapi/krb5/k5sealv3iov.c
===================================================================
--- trunk/src/lib/gssapi/krb5/k5sealv3iov.c	2009-01-22 23:21:11 UTC (rev 21778)
+++ trunk/src/lib/gssapi/krb5/k5sealv3iov.c	2009-01-22 23:37:35 UTC (rev 21779)
@@ -314,11 +314,11 @@
 
     acceptor_flag = ctx->initiate ? FLAG_SENDER_IS_ACCEPTOR : 0;
     key_usage = (toktype == KG_TOK_WRAP_MSG
-                 ? (!ctx->initiate 
+                 ? (!ctx->initiate
                     ? KG_USAGE_INITIATOR_SEAL
                     : KG_USAGE_ACCEPTOR_SEAL)
                  : (!ctx->initiate
-                    ? KG_USAGE_INITIATOR_SIGN 
+                    ? KG_USAGE_INITIATOR_SIGN
                     : KG_USAGE_ACCEPTOR_SIGN));
 
     kg_iov_msglen(iov, iov_count, &data_length, &assoc_data_length);

Modified: trunk/src/lib/gssapi/krb5/k5unsealiov.c
===================================================================
--- trunk/src/lib/gssapi/krb5/k5unsealiov.c	2009-01-22 23:21:11 UTC (rev 21778)
+++ trunk/src/lib/gssapi/krb5/k5unsealiov.c	2009-01-22 23:37:35 UTC (rev 21779)
@@ -81,7 +81,7 @@
     }
 
     ptr = (unsigned char *)header->buffer.value + token_wrapper_len;
-   
+
     signalg  = ptr[0];
     signalg |= ptr[1] << 8;
 
@@ -666,4 +666,3 @@
 
     return code;
 }
-

Modified: trunk/src/lib/gssapi/krb5/krb5_gss_glue.c
===================================================================
--- trunk/src/lib/gssapi/krb5/krb5_gss_glue.c	2009-01-22 23:21:11 UTC (rev 21778)
+++ trunk/src/lib/gssapi/krb5/krb5_gss_glue.c	2009-01-22 23:37:35 UTC (rev 21779)
@@ -186,7 +186,7 @@
     OM_uint32 major_status;
     struct krb5_gss_set_allowable_enctypes_req req;
     gss_buffer_desc req_buffer;
-    
+
     req.num_ktypes = num_ktypes;
     req.ktypes = ktypes;
 
@@ -225,7 +225,7 @@
                                       (const gss_OID)&req_oid,
                                       &req_buffer);
 
-    return major_status;    
+    return major_status;
 }
 
 OM_uint32 KRB5_CALLCONV
@@ -247,7 +247,7 @@
                                       (const gss_OID)&req_oid,
                                       &req_buffer);
 
-    return major_status;    
+    return major_status;
 }
 
 OM_uint32 KRB5_CALLCONV
@@ -268,7 +268,7 @@
                                       (const gss_OID)&req_oid,
                                       &req_buffer);
 
-    return major_status;    
+    return major_status;
 }
 
 krb5_error_code
@@ -368,7 +368,7 @@
         GSS_KRB5_SET_CRED_RCACHE_OID };
     OM_uint32 major_status;
     gss_buffer_desc req_buffer;
-    
+
     req_buffer.length = sizeof(rcache);
     req_buffer.value = rcache;
 
@@ -416,4 +416,3 @@
 
     return GSS_S_COMPLETE;
 }
-

Modified: trunk/src/lib/gssapi/krb5/util_crypt.c
===================================================================
--- trunk/src/lib/gssapi/krb5/util_crypt.c	2009-01-22 23:21:11 UTC (rev 21778)
+++ trunk/src/lib/gssapi/krb5/util_crypt.c	2009-01-22 23:37:35 UTC (rev 21779)
@@ -104,7 +104,7 @@
         ctx->signalg = -1;
         ctx->sealalg = -1;
     }
-        
+
     code = krb5int_accessor(&kaccess, KRB5INT_ACCESS_VERSION);
     if (code != 0)
         return code;

Modified: trunk/src/lib/krb5/asn.1/asn1_decode.c
===================================================================
--- trunk/src/lib/krb5/asn.1/asn1_decode.c	2009-01-22 23:21:11 UTC (rev 21778)
+++ trunk/src/lib/krb5/asn.1/asn1_decode.c	2009-01-22 23:37:35 UTC (rev 21779)
@@ -269,9 +269,8 @@
 
     retval = asn1buf_remove_octet(buf, &bval);
     if (retval) return retval;
- 
+
     *val = (bval != 0x00);
- 
+
     cleanup();
 }
-

Modified: trunk/src/lib/krb5/asn.1/asn1_k_encode.c
===================================================================
--- trunk/src/lib/krb5/asn.1/asn1_k_encode.c	2009-01-22 23:21:11 UTC (rev 21778)
+++ trunk/src/lib/krb5/asn.1/asn1_k_encode.c	2009-01-22 23:37:35 UTC (rev 21779)
@@ -82,7 +82,7 @@
 DEFFNLENTYPE(u_generalstring, unsigned char *, asn1_encode_generalstring);
 DEFFNLENTYPE(opaque, char *, asn1_encode_opaque);
 
-DEFFIELDTYPE(gstring_data, krb5_data, 
+DEFFIELDTYPE(gstring_data, krb5_data,
              FIELDOF_STRING(krb5_data, generalstring, data, length, -1));
 DEFPTRTYPE(gstring_data_ptr,gstring_data);
 
@@ -1174,7 +1174,7 @@
 #endif
 
 /* RFC 4537 */
-DEFFIELDTYPE(etype_list, krb5_etype_list, 
+DEFFIELDTYPE(etype_list, krb5_etype_list,
              FIELDOF_SEQOF_INT32(krb5_etype_list, int32_ptr, etypes, length, -1));
 
 /* Exported complete encoders -- these produce a krb5_data with

Modified: trunk/src/lib/krb5/rcache/rc_dfl.c
===================================================================
--- trunk/src/lib/krb5/rcache/rc_dfl.c	2009-01-22 23:21:11 UTC (rev 21778)
+++ trunk/src/lib/krb5/rcache/rc_dfl.c	2009-01-22 23:37:35 UTC (rev 21779)
@@ -396,7 +396,7 @@
  * Hash extension records have the format:
  *  client = <empty string>
  *  server = HASH:<msghash> <clientlen>:<client> <serverlen>:<server>
- * Spaces in the client and server string are represented with 
+ * Spaces in the client and server string are represented with
  * with backslashes.  Client and server lengths are represented in
  * ASCII decimal (which is different from the 32-bit binary we use
  * elsewhere in the replay cache).

Modified: trunk/src/lib/krb5/rcache/rcdef.c
===================================================================
--- trunk/src/lib/krb5/rcache/rcdef.c	2009-01-22 23:21:11 UTC (rev 21778)
+++ trunk/src/lib/krb5/rcache/rcdef.c	2009-01-22 23:37:35 UTC (rev 21779)
@@ -9,7 +9,7 @@
  *   require a specific license from the United States Government.
  *   It is the responsibility of any person or organization contemplating
  *   export to obtain such a license before exporting.
- * 
+ *
  * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
  * distribute this software and its documentation for any purpose and
  * without fee is hereby granted, provided that the above copyright
@@ -23,8 +23,8 @@
  * M.I.T. makes no representations about the suitability of
  * this software for any purpose.  It is provided "as is" without express
  * or implied warranty.
- * 
  *
+ *
  * replay cache default operations vector.
  */
 

Modified: trunk/src/lib/krb5/rcache/t_replay.c
===================================================================
--- trunk/src/lib/krb5/rcache/t_replay.c	2009-01-22 23:21:11 UTC (rev 21778)
+++ trunk/src/lib/krb5/rcache/t_replay.c	2009-01-22 23:37:35 UTC (rev 21779)
@@ -9,7 +9,7 @@
  *   require a specific license from the United States Government.
  *   It is the responsibility of any person or organization contemplating
  *   export to obtain such a license before exporting.
- * 
+ *
  * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
  * distribute this software and its documentation for any purpose and
  * without fee is hereby granted, provided that the above copyright
@@ -23,7 +23,7 @@
  * M.I.T. makes no representations about the suitability of
  * this software for any purpose.  It is provided "as is" without express
  * or implied warranty.
- * 
+ *
  * t_replay.c: Command-line interfaces to aid testing of replay cache
  *
  */

Modified: trunk/src/util/support/k5buf-int.h
===================================================================
--- trunk/src/util/support/k5buf-int.h	2009-01-22 23:21:11 UTC (rev 21778)
+++ trunk/src/util/support/k5buf-int.h	2009-01-22 23:37:35 UTC (rev 21779)
@@ -10,7 +10,7 @@
  *   require a specific license from the United States Government.
  *   It is the responsibility of any person or organization contemplating
  *   export to obtain such a license before exporting.
- * 
+ *
  * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
  * distribute this software and its documentation for any purpose and
  * without fee is hereby granted, provided that the above copyright
@@ -24,7 +24,7 @@
  * M.I.T. makes no representations about the suitability of
  * this software for any purpose.  It is provided "as is" without express
  * or implied warranty.
- * 
+ *
  * Internal declarations for the k5buf string buffer module.
  */
 

Modified: trunk/src/util/support/k5buf.c
===================================================================
--- trunk/src/util/support/k5buf.c	2009-01-22 23:21:11 UTC (rev 21778)
+++ trunk/src/util/support/k5buf.c	2009-01-22 23:37:35 UTC (rev 21779)
@@ -10,7 +10,7 @@
  *   require a specific license from the United States Government.
  *   It is the responsibility of any person or organization contemplating
  *   export to obtain such a license before exporting.
- * 
+ *
  * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
  * distribute this software and its documentation for any purpose and
  * without fee is hereby granted, provided that the above copyright
@@ -24,7 +24,7 @@
  * M.I.T. makes no representations about the suitability of
  * this software for any purpose.  It is provided "as is" without express
  * or implied warranty.
- * 
+ *
  * Implement the k5buf string buffer module.
  */
 
@@ -43,7 +43,7 @@
      len < space
      data[len] = '\0'
 */
- 
+
 /* Make sure there is room for LEN more characters in BUF, in addition
    to the null terminator and what's already in there.  Return true on
    success.  On failure, set the error flag and return false. */

Modified: trunk/src/util/support/t_k5buf.c
===================================================================
--- trunk/src/util/support/t_k5buf.c	2009-01-22 23:21:11 UTC (rev 21778)
+++ trunk/src/util/support/t_k5buf.c	2009-01-22 23:37:35 UTC (rev 21779)
@@ -10,7 +10,7 @@
  *   require a specific license from the United States Government.
  *   It is the responsibility of any person or organization contemplating
  *   export to obtain such a license before exporting.
- * 
+ *
  * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
  * distribute this software and its documentation for any purpose and
  * without fee is hereby granted, provided that the above copyright
@@ -24,7 +24,7 @@
  * M.I.T. makes no representations about the suitability of
  * this software for any purpose.  It is provided "as is" without express
  * or implied warranty.
- * 
+ *
  * Test the k5buf string buffer module.
  */
 




More information about the cvs-krb5 mailing list