samples: net: echo-client: Fix DTLS compilation

If DTLS was enabled, then certifacate setup function was missing.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
Jukka Rissanen 2017-10-24 16:31:05 +03:00 committed by Andrew Boie
parent 5eb8936b05
commit 62fb302396
1 changed files with 1 additions and 1 deletions

View File

@ -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"