1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 06:12:43 +01:00

examples/dtls-sock: fix credman capacity

It should be possible to test DTLS via `::1`, but this requires 4
slots in the credman instead of just two.
This commit is contained in:
Marian Buschsieweke 2023-12-27 21:39:10 +01:00
parent a05cfcf6ed
commit 3f57b8cef7
No known key found for this signature in database
GPG Key ID: 77AA882EC78084E6

View File

@ -61,3 +61,8 @@ ifeq (,$(filter arch_avr8,$(FEATURES_USED)))
else
CFLAGS += -DTHREAD_STACKSIZE_MAIN=\(4*THREAD_STACKSIZE_LARGE\)
endif
# We have two credentials for client and server, each. If we are to run both
# server and client, we need four slots in total. The default (2) would be
# sufficient if only client or server is ever run.
CFLAGS += -DCONFIG_CREDMAN_MAX_CREDENTIALS=4