Skip to content
Commit 73a3438b authored by Seppo Takalo's avatar Seppo Takalo Committed by Fabio Baltieri
Browse files

net: lwm2m: Remove hostname_verify flag from context



Use security mode (PSK or X509) to detect if we should
set the socket option to verify hostname.

PSK security mode cannot verify hostnames as this information
is coming in the certificate, so don't set the options.

Signed-off-by: default avatarSeppo Takalo <seppo.takalo@nordicsemi.no>
parent 8c0026a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment