remove trailing whitespace
authorLuke Howard <lukeh@padl.com>
Mon, 20 Sep 2010 08:14:23 +0000 (10:14 +0200)
committerLuke Howard <lukeh@padl.com>
Mon, 20 Sep 2010 08:14:23 +0000 (10:14 +0200)
mech_eap/compare_name.c
mech_eap/init_sec_context.c
mech_eap/inquire_cred.c
mech_eap/util.h
mech_eap/util_attr.cpp
mech_eap/util_name.c
mech_eap/util_shib.cpp

index 65aaa07..9c84324 100644 (file)
@@ -49,7 +49,7 @@ gss_compare_name(OM_uint32 *minor,
     }
 
     *name_equal = krb5_principal_compare(krbContext,
-                                        name1->krbPrincipal, 
+                                        name1->krbPrincipal,
                                         name2->krbPrincipal);
 
     return major;
index e42f822..8b5a0e2 100644 (file)
@@ -68,7 +68,6 @@ policyVariableToFlag(enum eapol_bool_var variable)
     }
 
     return flag;
-        
 }
 
 static struct eap_peer_config *
index e2d8371..2b34c4d 100644 (file)
@@ -49,10 +49,10 @@ gss_inquire_cred(OM_uint32 *minor,
     }
 
     if (pLifetime != NULL) {
-        time_t now, lifetime; 
+        time_t now, lifetime;
+
         if (cred->expiryTime == 0) {
-            lifetime = GSS_C_INDEFINITE; 
+            lifetime = GSS_C_INDEFINITE;
         } else  {
             now = time(NULL);
             lifetime = now - cred->expiryTime;
index 5e63616..3b1305c 100644 (file)
@@ -140,7 +140,7 @@ gssEapSign(krb5_context context,
 int
 gssEapVerify(krb5_context context,
              krb5_cksumtype type,
-             size_t rrc,  
+             size_t rrc,
              krb5_keyblock *key,
              krb5_keyusage sign_usage,
              gss_iov_buffer_desc *iov,
@@ -307,7 +307,7 @@ OM_uint32
 composeOid(OM_uint32 *minor_status,
            const char *prefix,
            size_t prefix_len,
-           int suffix,  
+           int suffix,
            gss_OID_desc *oid);
 
 OM_uint32
index 441745a..57c5570 100644 (file)
@@ -88,7 +88,7 @@ gss_eap_attr_ctx::gss_eap_attr_ctx(void)
         } else {
             provider = NULL;
         }
+
         m_providers[i] = provider;
     }
 }
index 50ff1ec..d45b60f 100644 (file)
@@ -163,7 +163,7 @@ importServiceName(OM_uint32 *minor,
     if (host != NULL) {
         *host = '\0';
         host++;
-    }    
+    }
 
     /* XXX this is probably NOT what we want to be doing */
     *minor = krb5_sname_to_principal(krbContext, host, service,
index a374ac5..9a5a753 100644 (file)
@@ -31,7 +31,7 @@
  */
 /*
  * Copyright 2001-2009 Internet2
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
@@ -244,7 +244,7 @@ gss_eap_shib_attr_provider::setAttribute(int complete,
     if (value->length != 0) {
         string valueStr((char *)value->value, value->length);
 
-        a->getValues().push_back(valueStr);        
+        a->getValues().push_back(valueStr);
     }
 
     m_attributes.push_back(a);
@@ -344,7 +344,7 @@ gss_eap_shib_attr_provider::getAttribute(const gss_buffer_t attr,
             duplicateBuffer(buf, display_value);
     }
 
-    if (authenticated != NULL) 
+    if (authenticated != NULL)
         *authenticated = m_authenticated;
     if (complete != NULL)
         *complete = false;