Commit a3b5cb39 authored by Philipp Huebner's avatar Philipp Huebner

Release 1.0.14-1

parent 2c31df7a
erlang-p1-stun (1.0.14-1) unstable; urgency=medium
* New upstream version 1.0.14
* Updated Standards-Version: 4.1.0 (no changes needed)
-- Philipp Huebner <debalance@debian.org> Sat, 02 Sep 2017 17:28:48 +0200
erlang-p1-stun (1.0.12-1) unstable; urgency=medium
* New upstream version 1.0.12
......
From 4b28e996bb8e82164e633c25fe77de36ddc3638c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pawe=C3=85=C2=82=20Chmielowski?=
<pchmielowski@process-one.net>
Date: Wed, 12 Jul 2017 00:44:43 +0200
Subject: [PATCH] Don't use crypto:rand_bytes/1 in tests
This was removed in R20, and should fix issue #10
---
src/stun_test.erl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/stun_test.erl b/src/stun_test.erl
index faf2336..7c4b16a 100644
--- a/src/stun_test.erl
+++ b/src/stun_test.erl
@@ -165,7 +165,7 @@ allocate_udp_test() ->
{ok, #stun{trid = TrID3,
class = response}} = stun_codec:decode(PktIn3, datagram),
%% Sending some data to the peer. Peer receives it.
- Data1 = crypto:rand_bytes(20),
+ Data1 = crypto:strong_rand_bytes(20),
TrID4 = mk_trid(),
Msg4 = #stun{method = ?STUN_METHOD_SEND,
trid = TrID4,
@@ -201,7 +201,7 @@ allocate_udp_test() ->
class = response}},
stun_codec:decode(PktIn5, datagram)),
%% Now we send data to this channel. The peer receives it.
- Data3 = crypto:rand_bytes(20),
+ Data3 = crypto:strong_rand_bytes(20),
Msg6 = #turn{channel = ?CHANNEL, data = Data3},
PktOut6 = stun_codec:encode(Msg6),
?assertEqual(ok, gen_udp:send(Socket, {127,0,0,1}, ?STUN_PORT, PktOut6)),
......@@ -11,7 +11,7 @@ Index: erlang-p1-stun/rebar.config
{erl_opts, [debug_info, {i, "include"}]}.
-{deps, [{fast_tls, ".*", {git, "https://github.com/processone/fast_tls", {tag, "1.0.13"}}},
-{deps, [{fast_tls, ".*", {git, "https://github.com/processone/fast_tls", {tag, "1.0.15"}}},
- {p1_utils, ".*", {git, "https://github.com/processone/p1_utils", {tag, "1.0.9"}}}]}.
{cover_enabled, true}.
......
remove-deps.diff
fix-allocate_udp_test.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment