diff options
author | Ingela Anderton Andin <[email protected]> | 2018-05-21 09:00:10 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2018-05-21 09:00:10 +0200 |
commit | f03603762806ac96cdca4a2c4f3b2b8b3190741a (patch) | |
tree | 547e672466c2f64d6ae704c52649524ca877945f /lib/ssl/src/ssl.erl | |
parent | e3bc55fb1e768cd30140a769507b50bddf3cb6ca (diff) | |
parent | 7a718717d8b2b5eb055ec3c307da073496f20f26 (diff) | |
download | otp-f03603762806ac96cdca4a2c4f3b2b8b3190741a.tar.gz otp-f03603762806ac96cdca4a2c4f3b2b8b3190741a.tar.bz2 otp-f03603762806ac96cdca4a2c4f3b2b8b3190741a.zip |
Merge remote-tracking branch 'origin/ingela/ssl/deprecate-ssl-accept/OTP-15056'
* origin/ingela/ssl/deprecate-ssl-accept/OTP-15056:
ssl: Deprecate ssl:ssl_accept/[1,2,3]
Diffstat (limited to 'lib/ssl/src/ssl.erl')
-rw-r--r-- | lib/ssl/src/ssl.erl | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/lib/ssl/src/ssl.erl b/lib/ssl/src/ssl.erl index 5b6d92ebf4..fb13a1ce7e 100644 --- a/lib/ssl/src/ssl.erl +++ b/lib/ssl/src/ssl.erl @@ -23,9 +23,17 @@ %%% Purpose : Main API module for SSL see also tls.erl and dtls.erl -module(ssl). --include("ssl_internal.hrl"). + -include_lib("public_key/include/public_key.hrl"). +-include("ssl_internal.hrl"). +-include("ssl_api.hrl"). +-include("ssl_internal.hrl"). +-include("ssl_record.hrl"). +-include("ssl_cipher.hrl"). +-include("ssl_handshake.hrl"). +-include("ssl_srp.hrl"). + %% Application handling -export([start/0, start/1, stop/0, clear_pem_cache/0]). @@ -39,8 +47,8 @@ close/1, close/2, shutdown/2, recv/2, recv/3, send/2, getopts/2, setopts/2, getstat/1, getstat/2 ]). -%% SSL/TLS protocol handling +%% SSL/TLS protocol handling -export([cipher_suites/0, cipher_suites/1, cipher_suites/2, filter_cipher_suites/2, prepend_cipher_suites/2, append_cipher_suites/2, eccs/0, eccs/1, versions/0, @@ -49,14 +57,9 @@ %% Misc -export([handle_options/2, tls_version/1, new_ssl_options/3]). --include("ssl_api.hrl"). --include("ssl_internal.hrl"). --include("ssl_record.hrl"). --include("ssl_cipher.hrl"). --include("ssl_handshake.hrl"). --include("ssl_srp.hrl"). - --include_lib("public_key/include/public_key.hrl"). +-deprecated({ssl_accept, 1, eventually}). +-deprecated({ssl_accept, 2, eventually}). +-deprecated({ssl_accept, 3, eventually}). %%-------------------------------------------------------------------- -spec start() -> ok | {error, reason()}. |