From: | "Anthony G. Basile (blueness)" <blueness@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/tor/files: tor-0.2.4.21-fix-unittest-disable-curve25519.patch |
Date: | Mon, 24 Mar 2014 13:22:03 |
Message-Id: | 20140324132200.D5B8220057@flycatcher.gentoo.org |
1 | blueness 14/03/24 13:22:00 |
2 | |
3 | Added: tor-0.2.4.21-fix-unittest-disable-curve25519.patch |
4 | Log: |
5 | Fix USE=-ecc unit test, bug #505174 |
6 | |
7 | (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-misc/tor/files/tor-0.2.4.21-fix-unittest-disable-curve25519.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tor/files/tor-0.2.4.21-fix-unittest-disable-curve25519.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tor/files/tor-0.2.4.21-fix-unittest-disable-curve25519.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: tor-0.2.4.21-fix-unittest-disable-curve25519.patch |
16 | =================================================================== |
17 | From: Nick Mathewson <nickm@××××××××××.org> |
18 | Date: Thu, 20 Mar 2014 17:52:50 +0000 (-0400) |
19 | Subject: Fix unittest compilation with --disable-curve25519 |
20 | X-Git-Tag: tor-0.2.5.3-alpha~3^2 |
21 | X-Git-Url: https://gitweb.torproject.org?hp=9077118ee27e275d495b89a810ee28882c74cf62 |
22 | |
23 | Fix unittest compilation with --disable-curve25519 |
24 | |
25 | This is a fix for 9700, which we already fixed in 0.2.5.x, but which |
26 | got left in 0.2.4.x. |
27 | |
28 | This is a partial backport of a0a855d586d99540277014ccd3 |
29 | --- |
30 | |
31 | diff --git a/changes/bug9700 b/changes/bug9700 |
32 | new file mode 100644 |
33 | index 0000000..f59f54c |
34 | --- /dev/null |
35 | +++ b/changes/bug9700 |
36 | @@ -0,0 +1,3 @@ |
37 | + o Minor bugfixes (compilation): |
38 | + - Fix a compilation error when compiling with --disable-cuve25519. |
39 | + Fixes bug 9700; bugfix on 0.2.4.17-rc. |
40 | diff --git a/src/test/test.c b/src/test/test.c |
41 | index 4ec8792..c2911d8 100644 |
42 | --- a/src/test/test.c |
43 | +++ b/src/test/test.c |
44 | @@ -56,12 +56,12 @@ double fabs(double x); |
45 | #include "memarea.h" |
46 | #include "onion.h" |
47 | #include "onion_tap.h" |
48 | +#include "onion_ntor.h" |
49 | #include "policies.h" |
50 | #include "rephist.h" |
51 | #include "routerparse.h" |
52 | #ifdef CURVE25519_ENABLED |
53 | #include "crypto_curve25519.h" |
54 | -#include "onion_ntor.h" |
55 | #endif |
56 | |
57 | #ifdef USE_DMALLOC |