-redundant
authorChristian Grothoff <christian@grothoff.org>
Sat, 5 Sep 2015 12:44:06 +0000 (12:44 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 5 Sep 2015 12:44:06 +0000 (12:44 +0000)
src/scalarproduct/gnunet-service-scalarproduct_bob.c

index 25a74386a1ef5783948b0f6bd315e72742a9026a..c0404d5951c6fcc434eb3790b167f9368ab79506 100644 (file)
@@ -1134,11 +1134,6 @@ handle_alices_computation_request (void *cls,
   struct BobServiceSession *s;
   const struct ServiceRequestMessage *msg;
 
-  if (ntohs (message->size) != sizeof (struct ServiceRequestMessage))
-  {
-    GNUNET_break_op (0);
-    return GNUNET_SYSERR;
-  }
   msg = (const struct ServiceRequestMessage *) message;
   if (GNUNET_YES == in->in_map)
   {