← Back to team overview

hipl-core team mailing list archive

[trunk]4907: cosmetics: Remove tabs and trailing whitespace.

 

  cosmetics: Remove tabs and trailing whitespace.

=== modified file 'Makefile.am'
--- Makefile.am	2010-08-20 14:18:57 +0000
+++ Makefile.am	2010-08-20 14:34:13 +0000
@@ -211,7 +211,7 @@
 
 # CentOS 5.5 requires this or otherwise autoreconf gives the error:
 # Makefile.am:213: `nodist_doc_DATA' is used but `docdir' is undefined
-docdir = ${datadir}/doc/${PACKAGE} 
+docdir = ${datadir}/doc/${PACKAGE}
 
 if HAVE_XMLTO
 nodist_doc_DATA = doc/HOWTO.html doc/HOWTO.txt $(wildcard $(addprefix $(srcdir)/doc/,*.png))

=== modified file 'doc/HOWTO.xml'
--- doc/HOWTO.xml	2010-07-24 16:18:00 +0000
+++ doc/HOWTO.xml	2010-08-20 14:34:13 +0000
@@ -1473,7 +1473,7 @@
       <section><title>Supported features</title>
 
       <para>
-      
+
       The maemo/diablo version of HIPL supports most features of HIPL, except
       the firewall extensions.
 
@@ -2658,7 +2658,7 @@
         file. Otherwise you risk your host becoming an open HIP and
         ESP relay. For additional security measure, you can also use
         also /etc/hip/firewall_conf to further restrict the allowed
-	clients and servers by their HITs.
+        clients and servers by their HITs.
        </para>
       <para>
         The main difference between the rendezvous server and the HIP relay

=== modified file 'firewall/cache.c'
--- firewall/cache.c	2010-08-19 09:32:20 +0000
+++ firewall/cache.c	2010-08-20 14:34:13 +0000
@@ -325,7 +325,7 @@
     HIP_DEBUG("End hldbdb delete\n");
 }
 
-/** 
+/**
  * Update the state of a cached entry identified by HITs
  * @param  hit_our Local HIT (optional)
  * @param  hit_peer Peer HIT

=== modified file 'firewall/firewall_control.c'
--- firewall/firewall_control.c	2010-08-19 09:32:20 +0000
+++ firewall/firewall_control.c	2010-08-20 14:34:13 +0000
@@ -82,7 +82,7 @@
                                                HIP_STATE_ESTABLISHED);
         break;
     case HIP_MSG_FW_UPDATE_DB:
-        err = hip_firewall_cache_set_bex_state(src_hit, dst_hit, 
+        err = hip_firewall_cache_set_bex_state(src_hit, dst_hit,
                                                HIP_STATE_NONE);
         break;
     default:

=== modified file 'firewall/lsi.c'
--- firewall/lsi.c	2010-07-29 08:11:40 +0000
+++ firewall/lsi.c	2010-08-20 14:34:13 +0000
@@ -359,7 +359,7 @@
         process_as_lsi = 1;
     }
 
-    HIP_IFEL(!(entry = hip_firewall_cache_db_match(ip_dst, ip_src, 
+    HIP_IFEL(!(entry = hip_firewall_cache_db_match(ip_dst, ip_src,
                                                    FW_CACHE_HIT, 1)),
              -1, "Failed to obtain from cache\n");
 
@@ -425,7 +425,7 @@
     } else if (entry_peer->state == HIP_STATE_NONE ||
                entry_peer->state == HIP_STATE_UNASSOCIATED) {
         HIP_IFEL(hip_trigger_bex(&entry_peer->hit_our,
-                                 &entry_peer->hit_peer, 
+                                 &entry_peer->hit_peer,
                                  &entry_peer->lsi_our,
                                  &entry_peer->lsi_peer,
                                  NULL, NULL),

=== modified file 'hipd/cert.c'
--- hipd/cert.c	2010-08-19 09:32:20 +0000
+++ hipd/cert.c	2010-08-20 14:34:13 +0000
@@ -919,7 +919,7 @@
          * present, when adding subjectKeyIdentifier give string
          * hash to the X509_EXT_conf it knows what to do with it */
 
-        /* X509V3_EXT_conf() doesn't accept const char *, so we 
+        /* X509V3_EXT_conf() doesn't accept const char *, so we
          * write the arguments to a buffer first */
         sprintf(arg1, "basicConstraints");
         sprintf(arg2, "CA:true");

=== modified file 'hipd/esp_prot_anchordb.c'
--- hipd/esp_prot_anchordb.c	2010-08-19 09:32:20 +0000
+++ hipd/esp_prot_anchordb.c	2010-08-20 14:34:13 +0000
@@ -131,7 +131,7 @@
         // don't set up anything for UNUSED transform
         for (i = 0; i < esp_prot_num_transforms - 1; i++) {
             // needed for redirection to correct slot in anchor_db
-            esp_transforms[i] = *(const uint8_t *) 
+            esp_transforms[i] = *(const uint8_t *)
                                 hip_get_param_contents_direct(param);
             HIP_DEBUG("esp_transform is %u\n", esp_transforms[i]);
 

=== modified file 'hipd/hiprelay.c'
--- hipd/hiprelay.c	2010-08-19 09:32:20 +0000
+++ hipd/hiprelay.c	2010-08-20 14:34:13 +0000
@@ -978,7 +978,7 @@
 
     /* Adding RVS_HMAC or RELAY_HMAC parameter as the last parameter
      * of the relayed packet. Notice that this presumes that there
-     * are no parameters whose type value is greater than RVS_HMAC or 
+     * are no parameters whose type value is greater than RVS_HMAC or
      * RELAY_HMAC in the incoming I1/I2 packet. */
     HIP_IFEL(hip_build_param_hmac(msg_to_be_relayed,
                                   &(rec->hmac_relay),
@@ -1260,7 +1260,7 @@
          * all HMAC keys. See bug id 592172 */
         HIP_DEBUG("Full_Relay_HMAC verification failed.\n");
         HIP_DEBUG("Ignoring HMAC verification\n");
-    } else if (from != NULL && 
+    } else if (from != NULL &&
                hip_verify_packet_hmac_general(source_msg,
                                               &relay_ha_entry->hip_hmac_out,
                                               HIP_PARAM_RVS_HMAC ) != 0) {

=== modified file 'hipd/input.c'
--- hipd/input.c	2010-08-19 09:32:20 +0000
+++ hipd/input.c	2010-08-20 14:34:13 +0000
@@ -329,7 +329,7 @@
 
     memset(dh_shared_key, 0, dh_shared_len);
 
-    HIP_IFEL(!(dhf = hip_get_param_readwrite(ctx->input_msg, 
+    HIP_IFEL(!(dhf = hip_get_param_readwrite(ctx->input_msg,
                                              HIP_PARAM_DIFFIE_HELLMAN)),
              -ENOENT,  "No Diffie-Hellman parameter found.\n");
 

=== modified file 'hipd/oppdb.c'
--- hipd/oppdb.c	2010-08-19 09:32:20 +0000
+++ hipd/oppdb.c	2010-08-20 14:34:13 +0000
@@ -686,7 +686,7 @@
     HIP_DEBUG_HIT("dst_ip", &dst_ip);
 
     HIP_IFEL(hip_select_source_address(&our_addr, &dst_ip),
-             -1, "Cannot find source address\n"); 
+             -1, "Cannot find source address\n");
 
     /* Check if we've previously contacted the host and found it
      * non-HIP capable*/

=== modified file 'hipd/output.c'
--- hipd/output.c	2010-08-19 09:32:20 +0000
+++ hipd/output.c	2010-08-20 14:34:13 +0000
@@ -875,7 +875,7 @@
      * a) the I1 was received on UDP.
      * b) the received I1 packet had a RELAY_FROM parameter. */
     if (r1_dst_port) {
-        HIP_IFEL(hip_send_pkt(r1_src_addr, r1_dst_addr, 
+        HIP_IFEL(hip_send_pkt(r1_src_addr, r1_dst_addr,
                               hip_get_local_nat_udp_port(),
                               r1_dst_port, r1pkt, NULL, 0),
                  -ECOMM, "Sending R1 packet on UDP failed.\n");

=== modified file 'hipd/user.c'
--- hipd/user.c	2010-08-19 09:32:20 +0000
+++ hipd/user.c	2010-08-20 14:34:13 +0000
@@ -885,7 +885,7 @@
     {
         err = 0;
         struct hip_hit_to_ip_set *name_info;
-        HIP_IFEL(!(name_info = hip_get_param_readwrite(msg, 
+        HIP_IFEL(!(name_info = hip_get_param_readwrite(msg,
                                                      HIP_PARAM_HIT_TO_IP_SET)),
                  -1, "no name struct found\n");
         HIP_DEBUG("Name in name_info %s\n", name_info->name);

=== modified file 'lib/core/builder.c'
--- lib/core/builder.c	2010-08-20 11:14:25 +0000
+++ lib/core/builder.c	2010-08-20 14:34:13 +0000
@@ -4141,7 +4141,7 @@
     struct hip_relay_from relay_from;
     int err = 0;
 
-    hip_set_param_type((struct hip_tlv_common *) &relay_from, 
+    hip_set_param_type((struct hip_tlv_common *) &relay_from,
                        HIP_PARAM_RELAY_FROM);
     ipv6_addr_copy((struct in6_addr *) &relay_from.address, addr);
     relay_from.port = htons(port);

=== modified file 'lib/core/hostid.c'
--- lib/core/hostid.c	2010-07-29 09:53:52 +0000
+++ lib/core/hostid.c	2010-08-20 14:34:13 +0000
@@ -545,7 +545,7 @@
             dsa_filenamebase_len =
                 strlen(HIPL_SYSCONFDIR) +
                 strlen(DEFAULT_HOST_DSA_KEY_FILE_BASE) + 1;
-           
+
             if (anon || hi_fmt == NULL) {
                 dsa_filenamebase     = malloc(HOST_ID_FILENAME_MAX_LEN);
                 HIP_IFEL(!dsa_filenamebase, -ENOMEM,
@@ -768,20 +768,20 @@
 
             } else { /* pub */
 
-                if ((err = load_dsa_private_key(dsa_filenamebase_pub, 
+                if ((err = load_dsa_private_key(dsa_filenamebase_pub,
                                                 &dsa_pub_key))) {
                     HIP_ERROR("Loading of the DSA key (pub) failed\n");
                     goto out_err;
                 }
 
-                dsa_pub_key_rr_len = dsa_to_dns_key_rr(dsa_pub_key, 
+                dsa_pub_key_rr_len = dsa_to_dns_key_rr(dsa_pub_key,
                                                        &dsa_pub_key_rr);
                 HIP_IFEL(dsa_pub_key_rr_len <= 0, -EFAULT,
                          "dsa_pub_key_rr_len <= 0\n");
 
                 HIP_DEBUG_HIT("DSA HIT", &dsa_lhi.hit);
 
-                if ((err = hip_private_dsa_to_hit(dsa_pub_key, 
+                if ((err = hip_private_dsa_to_hit(dsa_pub_key,
                                                   &dsa_pub_lhi.hit))) {
                     HIP_ERROR("Conversion from DSA to HIT failed\n");
                     goto out_err;
@@ -789,7 +789,7 @@
                 HIP_DEBUG_HIT("DSA HIT", &dsa_pub_lhi.hit);
 
                 if ((err = dsa_to_hip_endpoint(dsa_pub_key,
-                                               &endpoint_dsa_pub_hip, 0, 
+                                               &endpoint_dsa_pub_hip, 0,
                                                hostname))) {
                     HIP_ERROR("Failed to allocate and build DSA endpoint (pub).\n");
                     goto out_err;

=== modified file 'lib/core/solve.h'
--- lib/core/solve.h	2010-08-19 09:32:20 +0000
+++ lib/core/solve.h	2010-08-20 14:34:13 +0000
@@ -34,7 +34,7 @@
 
 #define HIP_PUZZLE_MAX_K        28
 
-uint64_t hip_solve_puzzle(const void *puzzle, 
+uint64_t hip_solve_puzzle(const void *puzzle,
                           const struct hip_common *hdr, int mode);
 int hip_solve_puzzle_m(struct hip_common *out, struct hip_common *in);
 

=== modified file 'modules/heartbeat/module_info.xml'
--- modules/heartbeat/module_info.xml	2010-03-30 08:44:33 +0000
+++ modules/heartbeat/module_info.xml	2010-08-20 14:34:13 +0000
@@ -8,7 +8,7 @@
     developer=""
     bugaddress="hipl-users@xxxxxxxxxxxxx"
     webpage="http://infrahip.hiit.fi/";>
-    
+
     <!-- Mandatory: name, header_file, init_function -->
     <application
         name="hipd"