diff options
author | Ingela Anderton Andin <[email protected]> | 2017-05-16 15:14:40 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2017-05-16 15:14:40 +0200 |
commit | a29bb639a5a0acf7da4d4fa65e4dd7c9cdcadb3c (patch) | |
tree | 603394794a3fe5621bac3ad31d7cd970bb12fbca /lib/ssl/src/tls_connection.erl | |
parent | 4b6d1950d9c5fc506cea42c115db78d0d7299d4d (diff) | |
parent | 66fd2a8ac224d91226fdf1913da976d5d883b64c (diff) | |
download | otp-a29bb639a5a0acf7da4d4fa65e4dd7c9cdcadb3c.tar.gz otp-a29bb639a5a0acf7da4d4fa65e4dd7c9cdcadb3c.tar.bz2 otp-a29bb639a5a0acf7da4d4fa65e4dd7c9cdcadb3c.zip |
Merge branch 'ingela/dtls/opts'
* ingela/dtls/opts:
ssl: Adopt setopts and getopts for DTLS
Diffstat (limited to 'lib/ssl/src/tls_connection.erl')
-rw-r--r-- | lib/ssl/src/tls_connection.erl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/ssl/src/tls_connection.erl b/lib/ssl/src/tls_connection.erl index a289ee0a65..96c3ab86e9 100644 --- a/lib/ssl/src/tls_connection.erl +++ b/lib/ssl/src/tls_connection.erl @@ -60,7 +60,7 @@ %% Data handling -export([passive_receive/2, next_record_if_active/1, handle_common_event/4, send/3, - socket/5]). + socket/5, setopts/3, getopts/3]). %% gen_statem state functions -export([init/3, error/3, downgrade/3, %% Initiation and take down states @@ -195,6 +195,10 @@ callback_mode() -> socket(Pid, Transport, Socket, Connection, Tracker) -> tls_socket:socket(Pid, Transport, Socket, Connection, Tracker). +setopts(Transport, Socket, Other) -> + tls_socket:setopts(Transport, Socket, Other). +getopts(Transport, Socket, Tag) -> + tls_socket:getopts(Transport, Socket, Tag). %%-------------------------------------------------------------------- %% State functions |