diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2015-07-18 19:12:53 -0400 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2015-07-18 19:12:53 -0400 |
commit | 65878f6bdd0b1547a1d0287f9b765b2b77fc77eb (patch) | |
tree | e7c1a32920d5f420a208a4b7ac54a3d320f78f59 /src/rebar_api.erl | |
parent | 45a47ee0363e0bc807967076ff274fdbaabe9942 (diff) | |
parent | 63f588a6771425eb33a0c555b460b0eddd1ae225 (diff) |
Merge pull request #624 from tsloughter/ssl_check
add ssl cert validation, unless OTP version is too old
Diffstat (limited to 'src/rebar_api.erl')
-rw-r--r-- | src/rebar_api.erl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/rebar_api.erl b/src/rebar_api.erl index 45083df..ec9f85e 100644 --- a/src/rebar_api.erl +++ b/src/rebar_api.erl @@ -11,7 +11,8 @@ wordsize/0, add_deps_to_path/1, restore_code_path/1, - processing_base_dir/1]). + processing_base_dir/1, + ssl_opts/1]). -export_type([rebar_dict/0, rebar_digraph/0]). @@ -63,3 +64,6 @@ restore_code_path(State) -> processing_base_dir(State) -> rebar_dir:processing_base_dir(State). + +ssl_opts(Url) -> + rebar_pkg_resource:ssl_opts(Url). |