Skip to content
Commit fb2a9661 authored by Pete Skeggs's avatar Pete Skeggs Committed by Anas Nashif
Browse files

net: sockets: tls: use cipherlist set by user



The function setsockopt() option TLS_CIPHERSUITE_LIST
allows the user to set a specific list of ciphersuites
when using the Zephyr native + Mbed TLS stack.  However, the
list provided was not actually being used later for
handshaking.

This adds the missing calls to mbedtls_ssl_conf_ciphersuites()
to use the list provided.  If none was provided, fall back
to the default list as determined by Mbed TLS from Kconfig
values.

Signed-off-by: default avatarPete Skeggs <peter.skeggs@nordicsemi.no>
parent 307a60e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment