summaryrefslogtreecommitdiff
path: root/tests/mini-dtls-large.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mini-dtls-large.c')
-rw-r--r--tests/mini-dtls-large.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/mini-dtls-large.c b/tests/mini-dtls-large.c
index 2b5b6b2bbd..3d4f18604d 100644
--- a/tests/mini-dtls-large.c
+++ b/tests/mini-dtls-large.c
@@ -207,6 +207,9 @@ static void server(int fd)
/* see the Getting peer's information example */
/* print_info(session); */
+
+ /* avoid uninitialized warnings */
+ memset(buffer, 1, sizeof(buffer));
ret =
gnutls_record_send(session, buffer,