Skip to content

Commit

Permalink
dtls: improve comment for DTLS_MAX_BUF
Browse files Browse the repository at this point in the history
For some DTLS clients the DTLS_MAX_BUF has to be increase. This is
needed for Californium with ECDSA.

Signed-off-by: Hauke Mehrtens <[email protected]>
  • Loading branch information
hauke committed Dec 11, 2013
1 parent 2139c57 commit 1495da1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion global.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,9 @@ typedef unsigned char uint32[4];
typedef unsigned char uint48[6];

#ifndef DTLS_MAX_BUF
/** Maximum size of DTLS message. */
/** Maximum size of DTLS message.
When Peers are sending bigger messages this causes problems. Californium
with ECDSA needs at least 220 */
#define DTLS_MAX_BUF 200
#endif

Expand Down

0 comments on commit 1495da1

Please sign in to comment.