]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
remove spaces before tabs at the beginning of lines (^( )+\t)
authorMartin Willi <martin@strongswan.org>
Fri, 4 Sep 2009 13:02:11 +0000 (15:02 +0200)
committerMartin Willi <martin@strongswan.org>
Fri, 4 Sep 2009 13:02:11 +0000 (15:02 +0200)
54 files changed:
src/charon/daemon.h
src/charon/encoding/payloads/auth_payload.c
src/charon/encoding/payloads/cert_payload.c
src/charon/encoding/payloads/cp_payload.c
src/charon/encoding/payloads/delete_payload.c
src/charon/encoding/payloads/eap_payload.c
src/charon/encoding/payloads/encodings.h
src/charon/encoding/payloads/id_payload.c
src/charon/encoding/payloads/ike_header.c
src/charon/encoding/payloads/ke_payload.c
src/charon/encoding/payloads/nonce_payload.c
src/charon/encoding/payloads/notify_payload.c
src/charon/encoding/payloads/proposal_substructure.c
src/charon/encoding/payloads/sa_payload.c
src/charon/encoding/payloads/traffic_selector_substructure.c
src/charon/encoding/payloads/transform_substructure.c
src/charon/encoding/payloads/ts_payload.c
src/charon/encoding/payloads/unknown_payload.c
src/charon/encoding/payloads/vendor_id_payload.c
src/charon/network/sender.h
src/charon/plugins/eap_aka/eap_aka.c
src/charon/plugins/eap_sim/eap_sim.c
src/charon/plugins/eap_sim_file/eap_sim_file_card.c
src/charon/plugins/eap_sim_file/eap_sim_file_provider.c
src/charon/plugins/kernel_klips/kernel_klips_ipsec.c
src/charon/plugins/kernel_netlink/kernel_netlink_ipsec.c
src/charon/plugins/load_tester/load_tester_config.c
src/charon/plugins/nm/nm_creds.c
src/charon/processing/processor.h
src/charon/sa/child_sa.c
src/charon/sa/connect_manager.c
src/charon/sa/ike_sa_id.h
src/charon/sa/keymat.c
src/dumm/main.c
src/include/linux/netlink.h
src/include/linux/rtnetlink.h
src/include/linux/udp.h
src/libfast/dispatcher.h
src/libfreeswan/addrtot.c
src/libstrongswan/crypto/pkcs9.c
src/libstrongswan/plugins/gmp/gmp_rsa_public_key.c
src/libstrongswan/plugins/md4/md4_hasher.c
src/libstrongswan/plugins/md5/md5_hasher.c
src/libstrongswan/plugins/openssl/openssl_plugin.c
src/libstrongswan/plugins/x509/ietf_attr_list.c
src/libstrongswan/settings.c
src/libstrongswan/settings.h
src/pluto/constants.h
src/pluto/crypto.c
src/pluto/demux.c
src/pluto/ocsp.c
src/pluto/plutomain.c
src/pluto/x509.h
src/scepclient/scepclient.c

index e00a1afba06acab67da3f83755405e8fb6b87092..7fcdc55ce3ae47b4056d5b299aa8a71f575861a6 100644 (file)
@@ -232,7 +232,7 @@ struct daemon_t {
 
        /**
         * The Sender-Thread.
-        */
+        */
        sender_t *sender;
 
        /**
index 308af9bda50baaec383dfb648f2e68f6e072e3d8..d31208abbf9dc345f8df46f25adb2631882bf95d 100644 (file)
@@ -65,11 +65,11 @@ struct private_auth_payload_t {
  * private_auth_payload_t.
  */
 encoding_rule_t auth_payload_encodings[] = {
-       /* 1 Byte next payload type, stored in the field next_payload */
+       /* 1 Byte next payload type, stored in the field next_payload */
        { U_INT_8,                      offsetof(private_auth_payload_t, next_payload)  },
        /* the critical bit */
        { FLAG,                         offsetof(private_auth_payload_t, critical)              },
-       /* 7 Bit reserved bits, nowhere stored */
+       /* 7 Bit reserved bits, nowhere stored */
        { RESERVED_BIT,         0                                                                                               },
        { RESERVED_BIT,         0                                                                                               },
        { RESERVED_BIT,         0                                                                                               },
@@ -79,7 +79,7 @@ encoding_rule_t auth_payload_encodings[] = {
        { RESERVED_BIT,         0                                                                                               },
        /* Length of the whole payload*/
        { PAYLOAD_LENGTH,       offsetof(private_auth_payload_t, payload_length)},
-       /* 1 Byte AUTH type*/
+       /* 1 Byte AUTH type*/
        { U_INT_8,                      offsetof(private_auth_payload_t, auth_method)   },
        /* 3 reserved bytes */
        { RESERVED_BYTE,        0                                                                                               },
index 36a3bfb6b5f4426201c4f7dfe764de787e7ee1a8..3ca546ff6f6ba88437e0e8ab9690cd26b8165b6d 100644 (file)
@@ -90,11 +90,11 @@ struct private_cert_payload_t {
  *
  */
 encoding_rule_t cert_payload_encodings[] = {
-       /* 1 Byte next payload type, stored in the field next_payload */
+       /* 1 Byte next payload type, stored in the field next_payload */
        { U_INT_8,                      offsetof(private_cert_payload_t, next_payload)  },
        /* the critical bit */
        { FLAG,                         offsetof(private_cert_payload_t, critical)              },
-       /* 7 Bit reserved bits, nowhere stored */
+       /* 7 Bit reserved bits, nowhere stored */
        { RESERVED_BIT, 0                                                                                                       },
        { RESERVED_BIT, 0                                                                                                       },
        { RESERVED_BIT, 0                                                                                                       },
@@ -104,7 +104,7 @@ encoding_rule_t cert_payload_encodings[] = {
        { RESERVED_BIT, 0                                                                                                       },
        /* Length of the whole payload*/
        { PAYLOAD_LENGTH,       offsetof(private_cert_payload_t, payload_length)},
-       /* 1 Byte CERT type*/
+       /* 1 Byte CERT type*/
        { U_INT_8,                      offsetof(private_cert_payload_t, encoding)              },
        /* some cert data bytes, length is defined in PAYLOAD_LENGTH */
        { CERT_DATA,            offsetof(private_cert_payload_t, data)                  }
index 6086ad102a155104c78e4445d6e899aa152843a0..8dc4b69f225e809953fc3b569d538df1e89a3c7f 100644 (file)
@@ -74,11 +74,11 @@ struct private_cp_payload_t {
  *
  */
 encoding_rule_t cp_payload_encodings[] = {
-       /* 1 Byte next payload type, stored in the field next_payload */
+       /* 1 Byte next payload type, stored in the field next_payload */
        { U_INT_8,              offsetof(private_cp_payload_t, next_payload)                    },
        /* the critical bit */
        { FLAG,                 offsetof(private_cp_payload_t, critical)                                },
-       /* 7 Bit reserved bits, nowhere stored */
+       /* 7 Bit reserved bits, nowhere stored */
        { RESERVED_BIT, 0                                                                                                               },
        { RESERVED_BIT, 0                                                                                                               },
        { RESERVED_BIT, 0                                                                                                               },
index c4fa0f8ae253ff15c1d227f2179e3115ac57f859..97b4743b204a6e2ae904cda2fc84c2e2f1a7e025 100644 (file)
@@ -80,11 +80,11 @@ struct private_delete_payload_t {
  *
  */
 encoding_rule_t delete_payload_encodings[] = {
-       /* 1 Byte next payload type, stored in the field next_payload */
+       /* 1 Byte next payload type, stored in the field next_payload */
        { U_INT_8,                      offsetof(private_delete_payload_t, next_payload)        },
        /* the critical bit */
        { FLAG,                         offsetof(private_delete_payload_t, critical)            },
-       /* 7 Bit reserved bits, nowhere stored */
+       /* 7 Bit reserved bits, nowhere stored */
        { RESERVED_BIT, 0                                                                                                               },
        { RESERVED_BIT, 0                                                                                                               },
        { RESERVED_BIT, 0                                                                                                               },
index 562faa22142f2866b8a2ddb4fb845b1d25221a74..0605d61903ca5335fea55cfe35adc674a337811b 100644 (file)
@@ -61,11 +61,11 @@ struct private_eap_payload_t {
  *
  */
 encoding_rule_t eap_payload_encodings[] = {
-       /* 1 Byte next payload type, stored in the field next_payload */
+       /* 1 Byte next payload type, stored in the field next_payload */
        { U_INT_8,                      offsetof(private_eap_payload_t, next_payload)   },
        /* the critical bit */
        { FLAG,                         offsetof(private_eap_payload_t, critical)               },
-       /* 7 Bit reserved bits, nowhere stored */
+       /* 7 Bit reserved bits, nowhere stored */
        { RESERVED_BIT, 0                                                                                                       },
        { RESERVED_BIT, 0                                                                                                       },
        { RESERVED_BIT, 0                                                                                                       },
index 23389481c31a03cbf95fc27b87a6e06122cba3fc..52af4a9840e200f94e94f6870343ceaabd8924b6 100644 (file)
@@ -75,7 +75,7 @@ enum encoding_type_t {
         *
         * When generating it must be changed from host to network order.
         * The value is read from the associated data struct.
-        * The current write position is moved 16 bit forward afterwards.
+        * The current write position is moved 16 bit forward afterwards.
         *
         * When parsing it must be changed from network to host order.
         * The value is written to the associated data struct.
@@ -140,7 +140,7 @@ enum encoding_type_t {
        /**
         * Representating a length field of a payload.
         *
-        * When generating it must be changed from host to network order.
+        * When generating it must be changed from host to network order.
         * The value is read from the associated data struct.
         * The current write position is moved 16 bit forward afterwards.
         *
@@ -153,7 +153,7 @@ enum encoding_type_t {
        /**
         * Representating a length field of a header.
         *
-        * When generating it must be changed from host to network order.
+        * When generating it must be changed from host to network order.
         * The value is read from the associated data struct.
         * The current write position is moved 32 bit forward afterwards.
         *
@@ -166,7 +166,7 @@ enum encoding_type_t {
        /**
         * Representating a spi size field.
         *
-        * When generating it must be changed from host to network order.
+        * When generating it must be changed from host to network order.
         * The value is read from the associated data struct.
         * The current write position is moved 8 bit forward afterwards.
         *
@@ -179,8 +179,8 @@ enum encoding_type_t {
        /**
         * Representating a spi field.
         *
-        * When generating the content of the chunkt pointing to
-        * is written.
+        * When generating the content of the chunkt pointing to
+        * is written.
         *
         * When parsing SPI_SIZE bytes are read and written into the chunk pointing to.
         */
@@ -189,8 +189,8 @@ enum encoding_type_t {
        /**
         * Representating a Key Exchange Data field.
         *
-        * When generating the content of the chunkt pointing to
-        * is written.
+        * When generating the content of the chunkt pointing to
+        * is written.
         *
         * When parsing (Payload Length - 8) bytes are read and written into the chunk pointing to.
         */
@@ -199,8 +199,8 @@ enum encoding_type_t {
        /**
         * Representating a Notification field.
         *
-        * When generating the content of the chunkt pointing to
-        * is written.
+        * When generating the content of the chunkt pointing to
+        * is written.
         *
         * When parsing (Payload Length - spi size - 8) bytes are read and written into the chunk pointing to.
         */
@@ -260,8 +260,8 @@ enum encoding_type_t {
 
        /**
         *
-        * When generating the content of the chunkt pointing to
-        * is written.
+        * When generating the content of the chunkt pointing to
+        * is written.
         *
         * When parsing (Payload Length - 4) bytes are read and written into the chunk pointing to.
         */
@@ -286,7 +286,7 @@ enum encoding_type_t {
         *
         * When generating it must be changed from host to network order.
         * The value is read from the associated data struct.
-        * The current write position is moved 15 bit forward afterwards.
+        * The current write position is moved 15 bit forward afterwards.
         *
         * When parsing it must be changed from network to host order.
         * The value is written to the associated data struct.
@@ -301,7 +301,7 @@ enum encoding_type_t {
         *
         * When generating it must be changed from host to network order.
         * The value is read from the associated data struct.
-        * The current write position is moved 16 bit forward afterwards.
+        * The current write position is moved 16 bit forward afterwards.
         *
         * When parsing it must be changed from network to host order.
         * The value is written to the associated data struct.
@@ -315,7 +315,7 @@ enum encoding_type_t {
         *
         * When generating it must be changed from host to network order.
         * The value is read from the associated data struct.
-        * The current write position is moved 16 bit forward afterwards.
+        * The current write position is moved 16 bit forward afterwards.
         *
         * When parsing it must be changed from network to host order.
         * The value is written to the associated data struct.
@@ -328,8 +328,8 @@ enum encoding_type_t {
         * this field is available or missing and so parsed/generated
         * or not parsed/not generated.
         *
-        * When generating the content of the chunkt pointing to
-        * is written.
+        * When generating the content of the chunkt pointing to
+        * is written.
         *
         * When parsing SPI_SIZE bytes are read and written into the chunk pointing to.
         */
@@ -353,7 +353,7 @@ enum encoding_type_t {
         *
         * When generating it must be changed from host to network order.
         * The value is read from the associated data struct.
-        * The current write position is moved 16 bit forward afterwards.
+        * The current write position is moved 16 bit forward afterwards.
         *
         * When parsing it must be changed from network to host order.
         * The value is written to the associated data struct.
@@ -367,8 +367,8 @@ enum encoding_type_t {
         * Depending on the last field of type TS_TYPE
         * this field is either 4 or 16 byte long.
         *
-        * When generating the content of the chunkt pointing to
-        * is written.
+        * When generating the content of the chunkt pointing to
+        * is written.
         *
         * When parsing 4 or 16 bytes are read and written into the chunk pointing to.
         */
@@ -377,8 +377,8 @@ enum encoding_type_t {
        /**
         * Representating a Nonce Data field.
         *
-        * When generating the content of the chunkt pointing to
-        * is written.
+        * When generating the content of the chunkt pointing to
+        * is written.
         *
         * When parsing (Payload Length - 4) bytes are read and written into the chunk pointing to.
         */
@@ -387,8 +387,8 @@ enum encoding_type_t {
        /**
         * Representating a ID Data field.
         *
-        * When generating the content of the chunkt pointing to
-        * is written.
+        * When generating the content of the chunkt pointing to
+        * is written.
         *
         * When parsing (Payload Length - 8) bytes are read and written into the chunk pointing to.
         */
@@ -397,8 +397,8 @@ enum encoding_type_t {
        /**
         * Representating a AUTH Data field.
         *
-        * When generating the content of the chunkt pointing to
-        * is written.
+        * When generating the content of the chunkt pointing to
+        * is written.
         *
         * When parsing (Payload Length - 8) bytes are read and written into the chunk pointing to.
         */
@@ -407,8 +407,8 @@ enum encoding_type_t {
        /**
         * Representating a CERT Data field.
         *
-        * When generating the content of the chunkt pointing to
-        * is written.
+        * When generating the content of the chunkt pointing to
+        * is written.
         *
         * When parsing (Payload Length - 5) bytes are read and written into the chunk pointing to.
         */
@@ -417,8 +417,8 @@ enum encoding_type_t {
        /**
         * Representating a CERTREQ Data field.
         *
-        * When generating the content of the chunkt pointing to
-        * is written.
+        * When generating the content of the chunkt pointing to
+        * is written.
         *
         * When parsing (Payload Length - 5) bytes are read and written into the chunk pointing to.
         */
@@ -427,8 +427,8 @@ enum encoding_type_t {
        /**
         * Representating an EAP message field.
         *
-        * When generating the content of the chunkt pointing to
-        * is written.
+        * When generating the content of the chunkt pointing to
+        * is written.
         *
         * When parsing (Payload Length - 4) bytes are read and written into the chunk pointing to.
         */
@@ -437,8 +437,8 @@ enum encoding_type_t {
        /**
         * Representating the SPIS field in a DELETE payload.
         *
-        * When generating the content of the chunkt pointing to
-        * is written.
+        * When generating the content of the chunkt pointing to
+        * is written.
         *
         * When parsing (Payload Length - 8) bytes are read and written into the chunk pointing to.
         */
@@ -447,8 +447,8 @@ enum encoding_type_t {
        /**
         * Representating the VID DATA field in a VENDOR ID payload.
         *
-        * When generating the content of the chunkt pointing to
-        * is written.
+        * When generating the content of the chunkt pointing to
+        * is written.
         *
         * When parsing (Payload Length - 4) bytes are read and written into the chunk pointing to.
         */
@@ -457,8 +457,8 @@ enum encoding_type_t {
        /**
         * Representating the DATA of an unknown payload.
         *
-        * When generating the content of the chunkt pointing to
-        * is written.
+        * When generating the content of the chunkt pointing to
+        * is written.
         *
         * When parsing (Payload Length - 4) bytes are read and written into the chunk pointing to.
         */
@@ -467,8 +467,8 @@ enum encoding_type_t {
        /**
         * Representating an IKE_SPI field in an IKEv2 Header.
         *
-        * When generating the value of the u_int64_t pointing to
-        * is written (host and networ order is not changed).
+        * When generating the value of the u_int64_t pointing to
+        * is written (host and networ order is not changed).
         *
         * When parsing 8 bytes are read and written into the u_int64_t pointing to.
         */
index 39c4a8a338745547c93d0a9bf65e8e4f87bfd3a4..4158c3e07496c995045f2c6b0417ffc3fe243d9a 100644 (file)
@@ -74,11 +74,11 @@ struct private_id_payload_t {
  *
  */
 encoding_rule_t id_payload_encodings[] = {
-       /* 1 Byte next payload type, stored in the field next_payload */
+       /* 1 Byte next payload type, stored in the field next_payload */
        { U_INT_8,                      offsetof(private_id_payload_t, next_payload)    },
        /* the critical bit */
        { FLAG,                         offsetof(private_id_payload_t, critical)                },
-       /* 7 Bit reserved bits, nowhere stored */
+       /* 7 Bit reserved bits, nowhere stored */
        { RESERVED_BIT, 0                                                                                                       },
        { RESERVED_BIT, 0                                                                                                       },
        { RESERVED_BIT, 0                                                                                                       },
@@ -88,7 +88,7 @@ encoding_rule_t id_payload_encodings[] = {
        { RESERVED_BIT, 0                                                                                                       },
        /* Length of the whole payload*/
        { PAYLOAD_LENGTH,       offsetof(private_id_payload_t, payload_length)  },
-       /* 1 Byte ID type*/
+       /* 1 Byte ID type*/
        { U_INT_8,                      offsetof(private_id_payload_t, id_type)                 },
        /* 3 reserved bytes */
        { RESERVED_BYTE,        0                                                                                               },
index 0ce1ca6b22c3a1cd18bf01766032340a1ba003b7..735f01304ba6d63662782fdafc954bafba96ece1 100644 (file)
@@ -116,32 +116,32 @@ ENUM_END(exchange_type_names, INFORMATIONAL);
  * ike_header_t.
  */
 encoding_rule_t ike_header_encodings[] = {
-       /* 8 Byte SPI, stored in the field initiator_spi */
+       /* 8 Byte SPI, stored in the field initiator_spi */
        { IKE_SPI,              offsetof(private_ike_header_t, initiator_spi)   },
-       /* 8 Byte SPI, stored in the field responder_spi */
+       /* 8 Byte SPI, stored in the field responder_spi */
        { IKE_SPI,              offsetof(private_ike_header_t, responder_spi)   },
-       /* 1 Byte next payload type, stored in the field next_payload */
+       /* 1 Byte next payload type, stored in the field next_payload */
        { U_INT_8,              offsetof(private_ike_header_t, next_payload)    },
-       /* 4 Bit major version, stored in the field maj_version */
+       /* 4 Bit major version, stored in the field maj_version */
        { U_INT_4,              offsetof(private_ike_header_t, maj_version)     },
-       /* 4 Bit minor version, stored in the field min_version */
+       /* 4 Bit minor version, stored in the field min_version */
        { U_INT_4,              offsetof(private_ike_header_t, min_version)     },
        /* 8 Bit for the exchange type */
        { U_INT_8,              offsetof(private_ike_header_t, exchange_type)   },
-       /* 2 Bit reserved bits, nowhere stored */
+       /* 2 Bit reserved bits, nowhere stored */
        { RESERVED_BIT, 0                                                                               },
        { RESERVED_BIT, 0                                                                               },
-       /* 3 Bit flags, stored in the fields response, version and initiator */
+       /* 3 Bit flags, stored in the fields response, version and initiator */
        { FLAG,                 offsetof(private_ike_header_t, flags.response)  },
        { FLAG,                 offsetof(private_ike_header_t, flags.version)   },
        { FLAG,                 offsetof(private_ike_header_t, flags.initiator) },
-       /* 3 Bit reserved bits, nowhere stored */
+       /* 3 Bit reserved bits, nowhere stored */
        { RESERVED_BIT, 0                                                                               },
        { RESERVED_BIT, 0                                                                               },
        { RESERVED_BIT, 0                                                                               },
-       /* 4 Byte message id, stored in the field message_id */
+       /* 4 Byte message id, stored in the field message_id */
        { U_INT_32,             offsetof(private_ike_header_t, message_id)              },
-       /* 4 Byte length fied, stored in the field length */
+       /* 4 Byte length fied, stored in the field length */
        { HEADER_LENGTH,        offsetof(private_ike_header_t, length)                  }
 };
 
index 343a50d2c22e78710e2be74c4dfe09cdf69fb5d3..1bc79f0842f03c2aac390c00232dc690525de080 100644 (file)
@@ -67,11 +67,11 @@ struct private_ke_payload_t {
  *
  */
 encoding_rule_t ke_payload_encodings[] = {
-       /* 1 Byte next payload type, stored in the field next_payload */
+       /* 1 Byte next payload type, stored in the field next_payload */
        { U_INT_8,                      offsetof(private_ke_payload_t, next_payload)            },
        /* the critical bit */
        { FLAG,                         offsetof(private_ke_payload_t, critical)                        },
-       /* 7 Bit reserved bits, nowhere stored */
+       /* 7 Bit reserved bits, nowhere stored */
        { RESERVED_BIT, 0                                                                                                               },
        { RESERVED_BIT, 0                                                                                                               },
        { RESERVED_BIT, 0                                                                                                               },
index 3de889ec3a8b177e69da94597eb12aa4106d2abb..4ad5ce9dd369a4e686f5372143f4193652df1c00 100644 (file)
@@ -63,11 +63,11 @@ struct private_nonce_payload_t {
  *
  */
 encoding_rule_t nonce_payload_encodings[] = {
-       /* 1 Byte next payload type, stored in the field next_payload */
+       /* 1 Byte next payload type, stored in the field next_payload */
        { U_INT_8,                      offsetof(private_nonce_payload_t, next_payload)         },
        /* the critical bit */
        { FLAG,                         offsetof(private_nonce_payload_t, critical)             },
-       /* 7 Bit reserved bits, nowhere stored */
+       /* 7 Bit reserved bits, nowhere stored */
        { RESERVED_BIT, 0                                                                                                               },
        { RESERVED_BIT, 0                                                                                                               },
        { RESERVED_BIT, 0                                                                                                               },
index a8211b9575bbcbf3959f76d3b25ba23b90cdc094..bd244264cc24a623dedca55cace16beb060e6c16 100644 (file)
@@ -217,11 +217,11 @@ struct private_notify_payload_t {
  *
  */
 encoding_rule_t notify_payload_encodings[] = {
-       /* 1 Byte next payload type, stored in the field next_payload */
+       /* 1 Byte next payload type, stored in the field next_payload */
        { U_INT_8,                      offsetof(private_notify_payload_t, next_payload)                },
        /* the critical bit */
        { FLAG,                         offsetof(private_notify_payload_t, critical)                    },
-       /* 7 Bit reserved bits, nowhere stored */
+       /* 7 Bit reserved bits, nowhere stored */
        { RESERVED_BIT, 0                                                                                                               },
        { RESERVED_BIT, 0                                                                                                               },
        { RESERVED_BIT, 0                                                                                                               },
index 15630e7edff9a68748ff656572a9dc17db77c101..c93f73a68f83858f3af36ca6fcd726fe77bf40b2 100644 (file)
@@ -66,21 +66,21 @@ struct private_proposal_substructure_t {
        /**
         * SPI size of the following SPI.
         */
-       u_int8_t  spi_size;
+       u_int8_t  spi_size;
 
        /**
         * Number of transforms.
         */
-       u_int8_t  transforms_count;
+       u_int8_t  transforms_count;
 
-       /**
-        * SPI is stored as chunk.
-        */
-       chunk_t spi;
+       /**
+        * SPI is stored as chunk.
+        */
+       chunk_t spi;
 
-       /**
-        * Transforms are stored in a linked_list_t.
-        */
+       /**
+        * Transforms are stored in a linked_list_t.
+        */
        linked_list_t * transforms;
 };
 
@@ -91,7 +91,7 @@ struct private_proposal_substructure_t {
  * private_proposal_substructure_t.
  */
 encoding_rule_t proposal_substructure_encodings[] = {
-       /* 1 Byte next payload type, stored in the field next_payload */
+       /* 1 Byte next payload type, stored in the field next_payload */
        { U_INT_8,                      offsetof(private_proposal_substructure_t, next_payload)                 },
        /* Reserved Byte is skipped */
        { RESERVED_BYTE,                0                                                                                                                       },
index 6a9aac64511e388a530d3fc5f6df1a138eb61398..187a8fee07ce4dab419423b9b65f3e83f2d266cf 100644 (file)
@@ -64,11 +64,11 @@ struct private_sa_payload_t {
  *
  */
 encoding_rule_t sa_payload_encodings[] = {
-       /* 1 Byte next payload type, stored in the field next_payload */
+       /* 1 Byte next payload type, stored in the field next_payload */
        { U_INT_8,              offsetof(private_sa_payload_t, next_payload)                    },
        /* the critical bit */
        { FLAG,                 offsetof(private_sa_payload_t, critical)                                },
-       /* 7 Bit reserved bits, nowhere stored */
+       /* 7 Bit reserved bits, nowhere stored */
        { RESERVED_BIT, 0                                                                                                               },
        { RESERVED_BIT, 0                                                                                                               },
        { RESERVED_BIT, 0                                                                                                               },
index a034adee276c0ea9aa9c1f0f2f6bba73fa422e91..f248575912f6ab3c4b4d8bcc2fd72a25ab150a6f 100644 (file)
@@ -76,15 +76,15 @@ struct private_traffic_selector_substructure_t {
  *
  */
 encoding_rule_t traffic_selector_substructure_encodings[] = {
-       /* 1 Byte next ts type*/
+       /* 1 Byte next ts type*/
        { TS_TYPE,                      offsetof(private_traffic_selector_substructure_t, ts_type)                      },
-       /* 1 Byte IP protocol id*/
+       /* 1 Byte IP protocol id*/
        { U_INT_8,                      offsetof(private_traffic_selector_substructure_t, ip_protocol_id)       },
        /* Length of the whole payload*/
        { PAYLOAD_LENGTH,       offsetof(private_traffic_selector_substructure_t, payload_length)               },
-       /* 2 Byte start port*/
+       /* 2 Byte start port*/
        { U_INT_16,             offsetof(private_traffic_selector_substructure_t, start_port)                   },
-       /* 2 Byte end port*/
+       /* 2 Byte end port*/
        { U_INT_16,             offsetof(private_traffic_selector_substructure_t, end_port)                     },
        /* starting address is either 4 or 16 byte */
        { ADDRESS,                      offsetof(private_traffic_selector_substructure_t, starting_address)     },
index 16156b7c634ce04521be94a0c5fea57670f30e38..c94f6c1a23eca905764d5c20fecd1116b41a0e8b 100644 (file)
@@ -59,7 +59,7 @@ struct private_transform_substructure_t {
         */
        u_int16_t transform_id;
 
-       /**
+       /**
         * Transforms Attributes are stored in a linked_list_t.
         */
        linked_list_t *attributes;
@@ -74,7 +74,7 @@ struct private_transform_substructure_t {
  *
  */
 encoding_rule_t transform_substructure_encodings[] = {
-       /* 1 Byte next payload type, stored in the field next_payload */
+       /* 1 Byte next payload type, stored in the field next_payload */
        { U_INT_8,                      offsetof(private_transform_substructure_t, next_payload)                },
        /* Reserved Byte is skipped */
        { RESERVED_BYTE,                0                                                                                                                               },
index 64891913795493a02908dccd8cfec129588ddb55..6bf3e42933ad1530e7f59989132c9f99b94e6e04 100644 (file)
@@ -72,11 +72,11 @@ struct private_ts_payload_t {
  *
  */
 encoding_rule_t ts_payload_encodings[] = {
-       /* 1 Byte next payload type, stored in the field next_payload */
+       /* 1 Byte next payload type, stored in the field next_payload */
        { U_INT_8,                      offsetof(private_ts_payload_t, next_payload)                            },
        /* the critical bit */
        { FLAG,                         offsetof(private_ts_payload_t, critical)                                        },
-       /* 7 Bit reserved bits, nowhere stored */
+       /* 7 Bit reserved bits, nowhere stored */
        { RESERVED_BIT, 0                                                                                                                               },
        { RESERVED_BIT, 0                                                                                                                               },
        { RESERVED_BIT, 0                                                                                                                               },
@@ -86,7 +86,7 @@ encoding_rule_t ts_payload_encodings[] = {
        { RESERVED_BIT, 0                                                                                                                               },
        /* Length of the whole payload*/
        { PAYLOAD_LENGTH,       offsetof(private_ts_payload_t, payload_length)},
-       /* 1 Byte TS type*/
+       /* 1 Byte TS type*/
        { U_INT_8,                      offsetof(private_ts_payload_t, number_of_traffic_selectors)     },
        /* 3 reserved bytes */
        { RESERVED_BYTE,        0                                                                                                                       },
index 3c31ab1a2198cc345ed28c2d7b931a6792716965..dd5547dc39b1b2c84dfb4dae7eafb9b964ebec7d 100644 (file)
@@ -61,11 +61,11 @@ struct private_unknown_payload_t {
  *
  */
 encoding_rule_t unknown_payload_encodings[] = {
-       /* 1 Byte next payload type, stored in the field next_payload */
+       /* 1 Byte next payload type, stored in the field next_payload */
        { U_INT_8,                      offsetof(private_unknown_payload_t, next_payload)},
        /* the critical bit */
        { FLAG,                         offsetof(private_unknown_payload_t, critical)   },
-       /* 7 Bit reserved bits, nowhere stored */
+       /* 7 Bit reserved bits, nowhere stored */
        { RESERVED_BIT, 0                                                                                                       },
        { RESERVED_BIT, 0                                                                                                       },
        { RESERVED_BIT, 0                                                                                                       },
index dc16763e003769e97a6c68358ddb1640cc0b5727..27764b6c869d540baa1c4ca7a46a071325cb78f5 100644 (file)
@@ -60,11 +60,11 @@ struct private_vendor_id_payload_t {
  *
  */
 encoding_rule_t vendor_id_payload_encodings[] = {
-       /* 1 Byte next payload type, stored in the field next_payload */
+       /* 1 Byte next payload type, stored in the field next_payload */
        { U_INT_8,                      offsetof(private_vendor_id_payload_t, next_payload) },
        /* the critical bit */
        { FLAG,                         offsetof(private_vendor_id_payload_t, critical)         },
-       /* 7 Bit reserved bits, nowhere stored */
+       /* 7 Bit reserved bits, nowhere stored */
        { RESERVED_BIT, 0                                                                                                               },
        { RESERVED_BIT, 0                                                                                                               },
        { RESERVED_BIT, 0                                                                                                               },
index 0ac7755207346afda2e619c4caf2b8e1ad378044..f77fadab2da53b2e6194cc60d2086fdb26245e1b 100644 (file)
@@ -39,7 +39,7 @@ struct sender_t {
         * Whenever the sender thread thinks it's good to send the packet,
         * it'll do so.
         *
-        * @param packet        packet to send
+        * @param packet        packet to send
         */
        void (*send) (sender_t *this, packet_t *packet);
 
index c2c1a50f823b149c58d7dd40670161c79219ed91..e76778f2223dcbc271a59768d4c206cbb429992a 100644 (file)
@@ -1341,15 +1341,15 @@ static status_t peer_process_notification(private_eap_aka_t *this,
                                                DBG1(DBG_IKE, "received AKA notification 'general "
                                                         "failure' (%d)", code);
                                                return FAILED;
-                                       case 32768:
+                                       case 32768:
                                                DBG1(DBG_IKE, "received AKA notification 'successfully "
                                                         "authenticated' (%d)", code);
                                                continue;
-                                       case 1026:
+                                       case 1026:
                                                DBG1(DBG_IKE, "received AKA notification 'access "
                                                         "temporarily denied' (%d)", code);
                                                return FAILED;
-                                       case 1031:
+                                       case 1031:
                                                DBG1(DBG_IKE, "received AKA notification 'not "
                                                         "subscribed to service' (%d)", code);
                                                return FAILED;
index 811febdb3fe70b9b307230948b2833ee98749874..a4bde05fe2b01048dd085f7010bab611f6cc6e17 100644 (file)
@@ -1107,7 +1107,7 @@ eap_sim_t *eap_sim_create_generic(eap_role_t role, identification_t *server,
                        }
                        rng->allocate_bytes(rng, NONCE_LEN, &this->nonce);
                        rng->destroy(rng);
-                       break;
+                       break;
                default:
                        free(this);
                        return NULL;
index 2a854d367212b7229434f63b4405dce1b965c468..11efd54200bd17e1135767bdb02b9a759358fe3b 100644 (file)
@@ -33,8 +33,8 @@ struct private_eap_sim_file_card_t {
        identification_t *imsi;
 
        /**
-        * source of triplets
-        */
+        * source of triplets
+        */
        eap_sim_file_triplets_t *triplets;
 };
 
index dc55911b8fc1c99dab3228d109d34f20a4271975..3fec47beeb69b62822968723d656a8411b99dd3f 100644 (file)
@@ -28,8 +28,8 @@ struct private_eap_sim_file_provider_t {
        eap_sim_file_provider_t public;
 
        /**
-        * source of triplets
-        */
+        * source of triplets
+        */
        eap_sim_file_triplets_t *triplets;
 };
 
index 1b6afe6ceda255d5e62cefbbb056315a29416202..d68d2dad535686d683aca8a2b01576be02df9251 100644 (file)
@@ -846,8 +846,8 @@ static void host2ext(host_t *host, struct sadb_address *ext)
 {
        sockaddr_t *host_addr = host->get_sockaddr(host);
        socklen_t *len = host->get_sockaddr_len(host);
-       memcpy((char*)(ext + 1), host_addr, *len);
-       ext->sadb_address_len = PFKEY_LEN(sizeof(*ext) + *len);
+       memcpy((char*)(ext + 1), host_addr, *len);
+       ext->sadb_address_len = PFKEY_LEN(sizeof(*ext) + *len);
 }
 
 /**
@@ -872,7 +872,7 @@ static void add_anyaddr_ext(struct sadb_msg *msg, int family, u_int8_t type)
        addr->sadb_address_exttype = type;
        sockaddr_t *saddr = (sockaddr_t*)(addr + 1);
        saddr->sa_family = family;
-       addr->sadb_address_len = PFKEY_LEN(sizeof(*addr) + len);
+       addr->sadb_address_len = PFKEY_LEN(sizeof(*addr) + len);
        PFKEY_EXT_ADD(msg, addr);
 }
 
index e4967de6957b1a838b3ee354c75ff4636fccca5a..08d494ecb4eb7b343f0f815fc9b22b19f8d0ffbd 100644 (file)
@@ -943,8 +943,8 @@ static status_t add_sa(private_kernel_netlink_ipsec_t *this,
        {
                lifetime_cfg_t lft = {{0,0,0},{0,0,0},{0,0,0}};
                add_sa(this, src, dst, htonl(ntohs(cpi)), IPPROTO_COMP, reqid, &lft,
-                          ENCR_UNDEFINED, chunk_empty, AUTH_UNDEFINED, chunk_empty,
-                          mode, ipcomp, 0, FALSE, inbound);
+                          ENCR_UNDEFINED, chunk_empty, AUTH_UNDEFINED, chunk_empty,
+                          mode, ipcomp, 0, FALSE, inbound);
                ipcomp = IPCOMP_NONE;
        }
 
index 74a62f667b730817d9238669c2c8bbf0453dc80d..c7c609f57b932aa5f04ec1da234848d1037b6ae9 100644 (file)
@@ -50,8 +50,8 @@ struct private_load_tester_config_t {
        char *pool;
 
        /**
-        * IKE proposal
-        */
+        * IKE proposal
+        */
        proposal_t *proposal;
 
        /**
index 1a35105cfd3be92ef58c9c71bcb3360d098fd6fb..f9b852d272190b5e7e11b3de83252711f81dfdfe 100644 (file)
@@ -36,9 +36,9 @@ struct private_nm_creds_t {
        certificate_t *cert;
 
        /**
-        * User name
-        */
-       identification_t *user;
+        * User name
+        */
+       identification_t *user;
 
        /**
         * User password
index 58222ab815e17decc7f2887ca99262621da2bfd2..5bf8cf5739d557214ac423a46a532265ad8271b5 100644 (file)
@@ -60,7 +60,7 @@ struct processor_t {
         *
         * This function is non blocking and adds a job_t to the queue.
         *
-        * @param job                   job to add to the queue
+        * @param job                   job to add to the queue
         */
        void (*queue_job) (processor_t *this, job_t *job);
 
index b30a5c0aaaf314710542fec0463d4f262565570d..f2ffdab2fedd0658cc9d8881f8f49f69bf0ad310 100644 (file)
@@ -128,9 +128,9 @@ struct private_child_sa_t {
        ipsec_mode_t mode;
 
        /**
-        * selected proposal
-        */
-       proposal_t *proposal;
+        * selected proposal
+        */
+       proposal_t *proposal;
 
        /**
         * config used to create this child
index 8df1824ac626cf64ebbdde468e5204e604367a8b..2eebe4cfea66e70076336eb336e8215638b70561 100644 (file)
@@ -1059,14 +1059,14 @@ static void queue_triggered_check(private_connect_manager_t *this,
                check_list_t *checklist, endpoint_pair_t *pair)
 {
        DBG2(DBG_IKE, "queueing triggered check for pair '%d'", pair->id);
-       pair->state = CHECK_WAITING;
-       checklist->triggered->insert_last(checklist->triggered, pair);
-
-       if (!checklist->sender)
-       {
-               /* if the sender is not running we restart it */
-               schedule_checks(this, checklist, ME_INTERVAL);
-       }
+       pair->state = CHECK_WAITING;
+       checklist->triggered->insert_last(checklist->triggered, pair);
+
+       if (!checklist->sender)
+       {
+               /* if the sender is not running we restart it */
+               schedule_checks(this, checklist, ME_INTERVAL);
+       }
 }
 
 /**
index 0e7d7ea45c7cafdaa8f1785fdf516c28bc4605ee..a833aa9d6bf1d2baa633228fd9766e18d8871263 100644 (file)
@@ -70,8 +70,8 @@ struct ike_sa_id_t {
         *
         * Two ike_sa_id_t objects are equal if both SPI values and the role matches.
         *
-        * @param other                         ike_sa_id_t object to check if equal
-        * @return                                      TRUE if given ike_sa_id_t are equal, FALSE otherwise
+        * @param other                         ike_sa_id_t object to check if equal
+        * @return                                      TRUE if given ike_sa_id_t are equal, FALSE otherwise
         */
        bool (*equals) (ike_sa_id_t *this, ike_sa_id_t *other);
 
@@ -81,7 +81,7 @@ struct ike_sa_id_t {
         *
         * After calling this function, both objects are equal.
         *
-        * @param other                         ike_sa_id_t object from which values will be taken
+        * @param other                         ike_sa_id_t object from which values will be taken
         */
        void (*replace_values) (ike_sa_id_t *this, ike_sa_id_t *other);
 
index e7224fe52f13002805708bf9bd0bf0d911357f8c..93f88a6fca960b13dd657f7bf1b4b81b4962d232 100644 (file)
@@ -31,9 +31,9 @@ struct private_keymat_t {
        keymat_t public;
 
        /**
-        * IKE_SA Role, initiator or responder
-        */
-       bool initiator;
+        * IKE_SA Role, initiator or responder
+        */
+       bool initiator;
 
        /**
         * inbound signer (verify)
index a531700a40d203ba9cb6a225d3f95fb96e4250cb..337a1a144a8630e37b955aca1819423cf49969c8 100644 (file)
@@ -496,7 +496,7 @@ int main(int argc, char *argv[])
 
        /* Dumm menu */
        menu = gtk_menu_new();
-       dummMenu = gtk_menu_item_new_with_mnemonic("_Dumm");
+       dummMenu = gtk_menu_item_new_with_mnemonic("_Dumm");
        gtk_menu_bar_append(GTK_MENU_BAR(menubar), dummMenu);
        gtk_widget_show(dummMenu);
        gtk_menu_item_set_submenu(GTK_MENU_ITEM(dummMenu), menu);
@@ -510,7 +510,7 @@ int main(int argc, char *argv[])
 
        /* Guest menu */
        menu = gtk_menu_new();
-       guestMenu = gtk_menu_item_new_with_mnemonic("_Guest");
+       guestMenu = gtk_menu_item_new_with_mnemonic("_Guest");
        gtk_menu_bar_append(GTK_MENU_BAR(menubar), guestMenu);
        gtk_widget_show(guestMenu);
        gtk_menu_item_set_submenu(GTK_MENU_ITEM(guestMenu), menu);
@@ -575,7 +575,7 @@ int main(int argc, char *argv[])
 
        /* Switch menu */
        menu = gtk_menu_new();
-       switchMenu = gtk_menu_item_new_with_mnemonic("_Switch");
+       switchMenu = gtk_menu_item_new_with_mnemonic("_Switch");
        gtk_menu_bar_append(GTK_MENU_BAR(menubar), switchMenu);
        gtk_widget_show(switchMenu);
        gtk_menu_item_set_submenu(GTK_MENU_ITEM(switchMenu), menu);
@@ -595,7 +595,7 @@ int main(int argc, char *argv[])
        gtk_widget_set_sensitive(menuitem, FALSE);
        gtk_widget_show(menuitem);
 
-       /* show widgets */
+       /* show widgets */
        gtk_widget_show(menubar);
        gtk_widget_show(notebook);
        gtk_widget_show(vbox);
index 811a3c42caf5774141a6b39ab87750a383e78da6..1aeee628bbe42e4d0a18538abf6d75efb0bc07fd 100644 (file)
@@ -29,7 +29,7 @@ struct sockaddr_nl
        sa_family_t     nl_family;      /* AF_NETLINK   */
        unsigned short  nl_pad;         /* zero         */
        __u32           nl_pid;         /* process pid  */
-               __u32           nl_groups;      /* multicast groups mask */
+       __u32           nl_groups;      /* multicast groups mask */
 };
 
 struct nlmsghdr
index 93201a4fb685bac777f7feb06819a4d06d5545f9..131822c0fce11464aceb8a861af8f9c263cd42b9 100644 (file)
@@ -941,7 +941,7 @@ extern void __rta_fill(struct sk_buff *skb, int attrtype, int attrlen, const voi
 #define RTA_PUT(skb, attrtype, attrlen, data) \
 ({     if (unlikely(skb_tailroom(skb) < (int)RTA_SPACE(attrlen))) \
                 goto rtattr_failure; \
-       __rta_fill(skb, attrtype, attrlen, data); })
+       __rta_fill(skb, attrtype, attrlen, data); })
 
 #define RTA_APPEND(skb, attrlen, data) \
 ({     if (unlikely(skb_tailroom(skb) < (int)(attrlen))) \
@@ -1038,7 +1038,7 @@ __rta_reserve(struct sk_buff *skb, int attrtype, int attrlen)
 #define __RTA_PUT(skb, attrtype, attrlen) \
 ({     if (unlikely(skb_tailroom(skb) < (int)RTA_SPACE(attrlen))) \
                goto rtattr_failure; \
-       __rta_reserve(skb, attrtype, attrlen); })
+       __rta_reserve(skb, attrtype, attrlen); })
 
 extern void rtmsg_ifinfo(int type, struct net_device *dev, unsigned change);
 
index 2ee121bd0bc4876e86282e4ef603e43f9cf386b7..c213d2a51bcc683ee97fe1ce81168081a4e3ce61 100644 (file)
@@ -45,7 +45,7 @@ struct udp_sock {
        struct inet_sock inet;
        int              pending;       /* Any pending frames ? */
        unsigned int     corkflag;      /* Cork is required */
-       __u16            encap_type;    /* Is this an Encapsulation socket? */
+       __u16            encap_type;    /* Is this an Encapsulation socket? */
        /*
         * Following member retains the infomation to create a UDP header
         * when the socket is uncorked.
index 17a288b8f9ef0e244c9c334a5df7be70d209306f..93c6026c6dffec89035f26f3382fc82df023ac9b 100644 (file)
@@ -39,9 +39,9 @@
        dispatcher_t *dispatcher;
        your_global_context_implementation_t *global;
 
-       global = initialize_your_global_context();
+       global = initialize_your_global_context();
 
-       dispatcher = dispatcher_create(NULL, FALSE, 180,
+       dispatcher = dispatcher_create(NULL, FALSE, 180,
                        (context_constructor_t)your_session_context_create, global);
        dispatcher->add_controller(dispatcher, your_controller1_create, param1);
        dispatcher->add_controller(dispatcher, your_controller2_create, param2);
index b4b853bbb3d368553705c3a32127aa532ee2f6d4..d1a3387309caa50ef506bff8eed6e5c4aa92af54 100644 (file)
@@ -251,7 +251,7 @@ struct rtab {
        {"1:2::3:4",                   'Q', "1:2:0:0:0:0:3:4"},
        {"1:2:0:0:3:4:0:0",             0, "1:2::3:4:0:0"},
        {"1.2.3.4",                    'r' , "4.3.2.1.IN-ADDR.ARPA."},
-       /*                                    0 1 2 3 4 5 6 7 8 9 a b c d e f 0 1 2 3 4 5 6 7 8 9 a b c d e f */
+       /*                                    0 1 2 3 4 5 6 7 8 9 a b c d e f 0 1 2 3 4 5 6 7 8 9 a b c d e f */
        {"1:2::3:4",                   'r', "4.0.0.0.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.0.1.0.0.0.IP6.ARPA."},
         {NULL,                         0, NULL}
 };
index cb99ccd85011dbe8e275486cd7e1832636edbe2f..4b659cf6490bd402f5aa5314b85a8c7d68ea3957 100644 (file)
@@ -250,7 +250,7 @@ static void build_encoding(private_pkcs9_t *this)
                {
                        memcpy(pos, attribute->encoding.ptr, attribute->encoding.len);
                        pos += attribute->encoding.len;
-               }
+               }
                iterator->destroy(iterator);
        }
 }
index 0b3e7e2e80d893b3de043e9119c8231a84c7c264..2d82a3de289db05612e43c31152d026716a1a8f5 100644 (file)
@@ -314,7 +314,7 @@ static bool encrypt_(private_gmp_rsa_public_key_t *this, chunk_t plain,
        chunk_t em;
        u_char *pos;
        int padding, i;
-       rng_t *rng;
+       rng_t *rng;
 
        rng = lib->crypto->create_rng(lib->crypto, RNG_WEAK);
        if (rng == NULL)
@@ -325,7 +325,7 @@ static bool encrypt_(private_gmp_rsa_public_key_t *this, chunk_t plain,
 
        /* number of pseudo-random padding octets */
        padding = this->k - plain.len - 3;
-       if (padding < MIN_PS_PADDING)
+       if (padding < MIN_PS_PADDING)
        {
                DBG1("pseudo-random padding must be at least %d octets", MIN_PS_PADDING);
                return FALSE;
index 13291101bcc4b60f490d66fd4224278240597ab1..366d373283990a5b2877c4c8b31facef8d2d066d 100644 (file)
@@ -119,7 +119,7 @@ static void Decode(u_int32_t *output, u_int8_t *input, size_t len)
 
        for (i = 0, j = 0; j < len; i++, j += 4)
        {
-               output[i] = ((u_int32_t)input[j]) | (((u_int32_t)input[j+1]) << 8) |
+               output[i] = ((u_int32_t)input[j]) | (((u_int32_t)input[j+1]) << 8) |
                (((u_int32_t)input[j+2]) << 16) | (((u_int32_t)input[j+3]) << 24);
        }
 }
index c581e046b6b516693ff12b7c97b771861b3c418f..a97ad5cae516e7e93f31f5c227e1fc2a9aa74ab8 100644 (file)
@@ -135,7 +135,7 @@ static void Decode(u_int32_t *output, u_int8_t *input, size_t len)
 
        for (i = 0, j = 0; j < len; i++, j += 4)
        {
-               output[i] = ((u_int32_t)input[j]) | (((u_int32_t)input[j+1]) << 8) |
+               output[i] = ((u_int32_t)input[j]) | (((u_int32_t)input[j+1]) << 8) |
                (((u_int32_t)input[j+2]) << 16) | (((u_int32_t)input[j+3]) << 24);
        }
 }
index 38230ef17fa0b63deb1097ed5629ebcd4e5b4002..1cc6f7ce61fa11937cb9c0c1ba137bf4eb73b33b 100644 (file)
@@ -131,7 +131,7 @@ static void threading_init()
        int i, num_locks;
 
        CRYPTO_set_id_callback(id_function);
-       CRYPTO_set_locking_callback(locking_function);
+       CRYPTO_set_locking_callback(locking_function);
 
        CRYPTO_set_dynlock_create_callback(create_function);
        CRYPTO_set_dynlock_lock_callback(lock_function);
index b32f4c5d05136ed76b3fddd19e74663c96242e7f..d1ba7266e1104b0b13ee4359ae730b2cb44d9708 100644 (file)
@@ -189,7 +189,7 @@ bool ietfAttr_list_equals(linked_list_t *list_a, linked_list_t *list_b)
                                result = FALSE;
                                break;
                        }
-               }
+               }
                iterator_a->destroy(iterator_a);
                iterator_b->destroy(iterator_b);
        }
@@ -238,7 +238,7 @@ void ietfAttr_list_list(linked_list_t *list, FILE *out)
                                break;
                        default:
                                break;
-               }
+               }
        }
        iterator->destroy(iterator);
 }
index 6a3f74140fb06863501c9cf0a0328ae356a84303..b502c028ad1fd83bf7133db8b7fd0ba3b4de6011 100644 (file)
@@ -77,8 +77,8 @@ struct section_t {
 struct kv_t {
 
        /**
-        * key string, relative
-        */
+        * key string, relative
+        */
        char *key;
 
        /**
index f483c3d268d7033596f658a73ba71721ce3155cd..e10158f0b5e8d3617f2c295635e89634eec27595 100644 (file)
@@ -37,17 +37,17 @@ typedef struct settings_t settings_t;
  *
  * E.g.:
  * @code
-       a = b
-       section-one {
-               somevalue = asdf
-               subsection {
-                       othervalue = xxx
-               }
-               yetanother = zz
-       }
-       section-two {
-       }
-       @endcode
+       a = b
+       section-one {
+               somevalue = asdf
+               subsection {
+                       othervalue = xxx
+               }
+               yetanother = zz
+       }
+       section-two {
+       }
+       @endcode
  *
  * The values are accesses using the get() functions using dotted keys, e.g.
  *   section-one.subsection.othervalue
index b20737b73af3bd89e2b9b40b7a4b8cbb189b8d1b..81990cb3707726158cfa29152d52d87cb8b348ef 100644 (file)
@@ -692,7 +692,7 @@ typedef enum certpolicy {
        CERT_SEND_IF_ASKED = 1,
        CERT_NEVER_SEND    = 2,
 
-       CERT_YES_SEND      = 3,       /* synonym for CERT_ALWAYS_SEND */
+       CERT_YES_SEND      = 3,       /* synonym for CERT_ALWAYS_SEND */
        CERT_NO_SEND       = 4        /* synonym for CERT_NEVER_SEND  */
 } certpolicy_t;
 
index c6d3950bbef98117110008f3afd628f3b90859d9..85568f67fb1c8494f6d5ad4552fc07a64be6921f 100644 (file)
@@ -491,7 +491,7 @@ int oakley_from_encryption_algorithm(encryption_algorithm_t alg)
                        return OAKLEY_CAMELLIA_CBC;
                case ENCR_SERPENT_CBC:
                        return OAKLEY_SERPENT_CBC;
-       case ENCR_TWOFISH_CBC:
+       case ENCR_TWOFISH_CBC:
                        return OAKLEY_TWOFISH_CBC;
                default:
                        return 0;
@@ -561,7 +561,7 @@ int esp_from_encryption_algorithm(encryption_algorithm_t alg)
                        return ESP_CAMELLIA;
                case ENCR_SERPENT_CBC:
                        return ESP_SERPENT;
-       case ENCR_TWOFISH_CBC:
+       case ENCR_TWOFISH_CBC:
                        return ESP_TWOFISH;
                default:
                        return 0;
index 73582dd92e279f29a2fd37ed35cb112df42b1b4a..b41c816e577f31b7076abed8c1a8528cd752a5cf 100644 (file)
@@ -1827,7 +1827,7 @@ process_packet(struct msg_digest **mdp)
                        crypter->decrypt(crypter, data, iv, NULL);
                        crypter->destroy(crypter);
 
-               memcpy(st->st_new_iv, new_iv, crypter_block_size);
+               memcpy(st->st_new_iv, new_iv, crypter_block_size);
                        if (restore_iv)
                        {
                                memcpy(st->st_new_iv, new_iv, new_iv_len);
index 378955c06f8462e8ce021598154ec5d43aa72d4f..49225a68ca048e0af65d6db65e8caf17402b38ca 100644 (file)
@@ -318,7 +318,7 @@ static bool build_ocsp_location(const x509cert_t *cert, ocsp_location_t *locatio
        {
                return FALSE;
        }
-       hasher->get_hash(hasher, cert->issuer, digest);
+       hasher->get_hash(hasher, cert->issuer, digest);
        hasher->destroy(hasher);
 
        location->next = NULL;
@@ -756,7 +756,7 @@ static chunk_t sc_build_sha1_signature(chunk_t tbs, smartcard_t *sc)
        {
                return chunk_empty;
        }
-       hasher->get_hash(hasher, tbs, digest_buf);
+       hasher->get_hash(hasher, tbs, digest_buf);
        hasher->destroy(hasher);
 
        /* according to PKCS#1 v2.1 digest must be packaged into
index 808e5f042d8633b1b19d9c506452296b5f295a36..0de8d4d5d63365a6beec422572d6a20bad2c5855 100644 (file)
@@ -129,7 +129,7 @@ static void usage(const char *mess)
                        " [--debug-private]"
                        " [--debug-natt]"
 #endif
-                   " \\\n\t"
+                   " \\\n\t"
                        "[--nat_traversal] [--keep_alive <delay_sec>]"
                        " \\\n\t"
                        "[--force_keepalive] [--disable_port_floating]"
index 7bad3525711431bbdc9243ac3dbd992ae120c08a..6c1b4a6caf769dd1872702fb3617d8196a4ccabc 100644 (file)
@@ -64,7 +64,7 @@ struct x509cert {
        chunk_t            serialNumber;
                                  /*   signature */
        int                  sigAlg;
-       chunk_t            issuer;
+       chunk_t            issuer;
                                  /*   validity */
        time_t               notBefore;
        time_t               notAfter;
index e325f3f84dd51336fe0a7a02433d1c1c26093df1..7a9e1ff48c35c596886700fce4f82c3f849e10e5 100644 (file)
@@ -801,7 +801,7 @@ int main(int argc, char **argv)
        {
                private_key = lib->creds->create(lib->creds, CRED_PRIVATE_KEY, KEY_RSA,
                                                                                 BUILD_KEY_SIZE, rsa_keylength,
-                                                                                BUILD_END);
+                                                                                BUILD_END);
        }
        if (private_key == NULL)
        {