When no certificate-based ciphersuites are used, mbedTLS compiles out hostname field and associated functions from its SSL context. This resulted in compilation error when only PSK-based ciphersuites were configured. This commit resolves the issue by compiling-out hostname-related code from secure sockets implementation on the same basis as mbedTLS does. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| getaddrinfo.c | ||
| Kconfig | ||
| socket_offload.c | ||
| sockets_internal.h | ||
| sockets_tls.c | ||
| sockets.c | ||