Skip to content

Commit

Permalink
Fix up dialyzer rebar disaster
Browse files Browse the repository at this point in the history
  • Loading branch information
madninja committed Apr 18, 2018
1 parent 51972ff commit 5c5d2a0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,10 @@
[{"(linux|darwin|solaris)", clean, "make -C c_src clean"},
{"(freebsd)", clean, "gmake -C c_src clean"}]}.

{dialyzer, [
{warnings, [unknown]},
{plt_apps,all_deps}
]}.

{xref_checks,[undefined_function_calls,undefined_functions,locals_not_used,
deprecated_function_calls, deprecated_functions]}.
6 changes: 5 additions & 1 deletion src/ecc_compact.app.src
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
[{description,"Patent-free ECC point compression for NIST P-256 keys."},
{vsn,"git"},
{registered,[]},
{applications,[kernel,stdlib]},
{applications,[
kernel,
stdlib,
public_key
]},
{env,[]},

%% hex.pm packaging:
Expand Down
2 changes: 1 addition & 1 deletion src/ecc_compact.erl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
-type point() :: <<_:520>>.
-type compact_key() :: coordinate().

-export_types([public_key/0, private_key/0, compact_key/0]).
-export_type([public_key/0, private_key/0, compact_key/0]).

init() ->
SoName = case code:priv_dir(?APPNAME) of
Expand Down

0 comments on commit 5c5d2a0

Please sign in to comment.