Skip to content
Commit 1f1f550a authored by Robert Lubos's avatar Robert Lubos Committed by Anas Nashif
Browse files

samples: net: echo_client/server: Fix mbed TLS dependency



All application level TLS operations should be guarded with
"#if defined(CONFIG_NET_SOCKETS_SOCKOPT_TLS)" and not mbed TLS configs
only. Otherwise, in case mbed TLS is enabled, but the sample is not
configured to use TLS (hence TLS credential library is not available
for example), the build may fail or produce spurious warnings.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent 2b1106a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment