Skip to content
Success

Changes

Summary

  1. dtls-client.c: set NI_MAXSERV if not defined (details)
  2. tests/Makefile.in: set _POSIX_C_SOURCE=200112L (details)
  3. peer.c: Include <string.h> to fix memcpy() warning (details)
  4. dtls.c: add RFC5746 minimal version implementation. (details)
  5. Add renegotiation info to test clients. (details)
Commit f04c89c3676f7dc2c16d1eddb5a329466967eaa8 by obgm
dtls-client.c: set NI_MAXSERV if not defined

NI_MAXSERV is defined automatically when _GNU_SOURCE is provided.
This change sets the value to 32 (the default on Linux) when undefined.

Change-Id: I37bb5509383cb53b6e35cefa635f4647a3e2c721
The file was modified tests/dtls-client.c (diff)
Commit 0427dd4b4e74f6c278045cc681b2aaa0333dea33 by obgm
tests/Makefile.in: set _POSIX_C_SOURCE=200112L

This change replaces the pre-processor symbol _GNU_SOURCE set in
the Makefile with _POSIX_C_SOURCE to provide support for kill(2)
and getaddrinfo(3).

Change-Id: Ib4c9ade28b663d86a182ee34cbf262526240cd7d
The file was modified tests/Makefile.in (diff)
Commit 4eed14e1a786e9078f87d511153ba19268b41e4f by obgm
peer.c: Include <string.h> to fix memcpy() warning
The file was modified peer.c (diff)
Commit e64b6c1aad6846576e34f5567b8e99974a84f106 by obgm
dtls.c: add RFC5746 minimal version implementation.

Supports RFC5746 minimal version without renegotiation.
Add detailed documentation about the message length calculations.
Add TLS_EMPTY_RENEGOTIATION_INFO_SCSV to DTLS_CH_LENGTH_MAX.
Remove eclipse_curves from ServerHello length.

Signed-off-by: Achim Kraus <achim.kraus@cloudcoap.net>
The file was modified crypto.h (diff)
The file was modified dtls.c (diff)
The file was modified global.h (diff)
Commit b3d84685b3783903c111fb9fc4a56f796cf28c25 by obgm
Add renegotiation info to test clients.

Signed-off-by: Achim Kraus <achim.kraus@cloudcoap.net>
The file was modified tests/dtls-client.c (diff)
The file was modified tests/dtls-server.c (diff)