aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2019-02-22 10:48:43 +0100
committerIngela Anderton Andin <[email protected]>2019-02-22 10:48:43 +0100
commitaaf6c9bd7c16e348df00a2a43d1c53470336b2d2 (patch)
tree9b4df1476252c29e62e7bd3dfec5775fb42fa821 /lib/diameter
parent53dea65ae6665d5d14c0d313c1f639637a3f0405 (diff)
parenta5cda9ed439fcd90672ef4a5b93a049dd8a89b7e (diff)
downloadotp-aaf6c9bd7c16e348df00a2a43d1c53470336b2d2.tar.gz
otp-aaf6c9bd7c16e348df00a2a43d1c53470336b2d2.tar.bz2
otp-aaf6c9bd7c16e348df00a2a43d1c53470336b2d2.zip
Merge branch 'ingela/diameter/ssl-dialyzer-types' into maint
* ingela/diameter/ssl-dialyzer-types: diameter: Update to use exported types
Diffstat (limited to 'lib/diameter')
-rw-r--r--lib/diameter/src/transport/diameter_tcp.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/diameter/src/transport/diameter_tcp.erl b/lib/diameter/src/transport/diameter_tcp.erl
index da059fa7d6..e5e766d2a0 100644
--- a/lib/diameter/src/transport/diameter_tcp.erl
+++ b/lib/diameter/src/transport/diameter_tcp.erl
@@ -92,9 +92,9 @@
-type connect_option() :: {raddr, inet:ip_address()}
| {rport, pos_integer()}
- | {ssl_options, true | [ssl:connect_option()]}
+ | {ssl_options, true | [ssl:tls_client_option()]}
| option()
- | ssl:connect_option()
+ | ssl:tls_client_option()
| gen_tcp:connect_option().
-type match() :: inet:ip_address()
@@ -102,9 +102,9 @@
| [match()].
-type listen_option() :: {accept, match()}
- | {ssl_options, true | [ssl:listen_option()]}
+ | {ssl_options, true | [ssl:tls_server_option()]}
| option()
- | ssl:listen_option()
+ | ssl:tls_server_option()
| gen_tcp:listen_option().
-type option() :: {port, non_neg_integer()}