From: Nikos Mavrogiannopoulos Date: Sun, 29 Dec 2013 15:13:22 +0000 (+0100) Subject: updated X-Git-Tag: gnutls_3_3_0pre0~392 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=703f159277fc60c8b8ddadf50f95ba700899b698;p=thirdparty%2Fgnutls.git updated --- diff --git a/tests/mini-dtls-record.c b/tests/mini-dtls-record.c index e06fa961cc..8ad72e4008 100644 --- a/tests/mini-dtls-record.c +++ b/tests/mini-dtls-record.c @@ -1,5 +1,6 @@ /* - * Copyright (C) 2012 Free Software Foundation, Inc. + * Copyright (C) 2012-2013 Free Software Foundation, Inc. + * Copyright (C) 2013 Nikos Mavrogiannopoulos * * Author: Nikos Mavrogiannopoulos * @@ -54,7 +55,9 @@ int main() static int test_finished = 0; static void terminate(void); -/* This program tests the rehandshake in DTLS +/* This program tests whether messages in DTLS are received + * with the expected sequence. That is whether the message + * sequence numbers returned correspond to the received messages. */ /* @@ -261,7 +264,7 @@ static void client(int fd) if ((uint32_t) recv_msg_seq[current] != (uint32_t) useq) { - fail("received message sequence differs\n"); + fail("received message sequence differs (got: %u, expected: %u)\n", (unsigned)useq, (unsigned)recv_msg_seq[current]); terminate(); }