[strongSwan-dev] [PATCH 1/5] Fix typo and whitespace

Volker Rümelin vr_strongswan at t-online.de
Mon Mar 10 22:29:28 CET 2014


 src/libcharon/sa/ikev1/tasks/isakmp_vendor.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libcharon/sa/ikev1/tasks/isakmp_vendor.c b/src/libcharon/sa/ikev1/tasks/isakmp_vendor.c
index e07ac0a..596baa9 100644
--- a/src/libcharon/sa/ikev1/tasks/isakmp_vendor.c
+++ b/src/libcharon/sa/ikev1/tasks/isakmp_vendor.c
@@ -168,11 +168,11 @@ static struct {
 static const u_int32_t fragmentation_ike = 0x80000000;
 
 /**
- * Check if the given vendor ID indicate support for fragmentation
+ * Check if the given vendor ID indicates support for fragmentation
  */
 static bool fragmentation_supported(chunk_t data, int i)
 {
-	if (vendor_ids[i].extension  == EXT_IKE_FRAGMENTATION &&
+	if (vendor_ids[i].extension == EXT_IKE_FRAGMENTATION &&
 		data.len == 20 && memeq(data.ptr, vendor_ids[i].id, 16))
 	{
 		return untoh32(&data.ptr[16]) & fragmentation_ike;
-- 
1.8.4.5




More information about the Dev mailing list