Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: tls: Add socket option to set peer verification level
Add write only TLS secure option to set peer verification level for TLS connection. This option accepts an integer with a peer verification level, compatible with mbedtls values (0 - none, 1 - optional, 2 - required. By default, socket mimics mebdTLS behavior - (none for server, required for client). Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
- Loading branch information
Showing
2 changed files
with
57 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters