Commit 1364a9c5 authored by Jukka Rissanen's avatar Jukka Rissanen Committed by Anas Nashif
Browse files

net: tls: Allow access to TLS socket in userspace



If userspace is enabled, then the TLS context needs to be
made a NET_SOCKET kernel object. Without this the userspace
cannot access TLS sockets.

Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@linux.intel.com>
parent a8907905
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ struct dtls_timing_context {
};

/** TLS context information. */
struct tls_context {
__net_socket struct tls_context {
	/** Information whether TLS context is used. */
	bool is_used;