Skip to content

Commit

Permalink
Support R17
Browse files Browse the repository at this point in the history
  • Loading branch information
Diana Corbacho committed Dec 18, 2014
1 parent 2f22027 commit a639ed0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion cover.spec
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
{import, [".eunit/eunit.coverdata"]}.
{export, ["logs/total.coverdata"]}.
{incl_dirs, ["ebin"]}.
7 changes: 4 additions & 3 deletions test/webserver.erl
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,17 @@ server_loop(Module, Socket, Request, Headers, [H | T] = Responders) ->
end.

listen(ssl, Addr, Family) ->
Root = code:lib_dir(fusco, test),
KeyFile = code:where_is_file("key.pem"),
CertFile = code:where_is_file("crt.pem"),
Opts = [
Family,
{packet, http},
binary,
{active, false},
{ip, Addr},
{verify,0},
{keyfile, filename:join(Root, "key.pem")},
{certfile, filename:join(Root,"crt.pem")}
{keyfile, KeyFile},
{certfile, CertFile}
],
{ok, LS} = ssl:listen(0, Opts),
LS;
Expand Down

0 comments on commit a639ed0

Please sign in to comment.