From 62fb3023966d24f823170fc775e5078492849d00 Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Tue, 24 Oct 2017 16:31:05 +0300 Subject: [PATCH] samples: net: echo-client: Fix DTLS compilation If DTLS was enabled, then certifacate setup function was missing. Signed-off-by: Jukka Rissanen --- samples/net/echo_client/src/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/net/echo_client/src/udp.c b/samples/net/echo_client/src/udp.c index 5a941ada4b7..946c5215d29 100644 --- a/samples/net/echo_client/src/udp.c +++ b/samples/net/echo_client/src/udp.c @@ -85,7 +85,7 @@ NET_APP_TLS_POOL_DEFINE(dtls_pool, 10); #define net_app_dtls_stack_ipv6 NULL #endif /* CONFIG_NET_APP_TLS */ -#if defined(CONFIG_NET_APP_TLS) +#if defined(CONFIG_NET_APP_TLS) || defined(CONFIG_NET_APP_DTLS) /* Load the certificates and private RSA key. */ #include "test_certs.h"