[tor-commits] [translation/tbmanual-contentspot] https://gitweb.torproject.org/translation.git/commit/?h=tbmanual-contentspot

2021-06-26 Thread translation
commit b655f03739fdd055bd00cd55a0f0f97960ef1651
Author: Translation commit bot 
Date:   Sat Jun 26 20:16:45 2021 +

https://gitweb.torproject.org/translation.git/commit/?h=tbmanual-contentspot
---
 contents+fr.po | 8 
 1 file changed, 8 insertions(+)

diff --git a/contents+fr.po b/contents+fr.po
index 2c110baa83..aff9b3e531 100644
--- a/contents+fr.po
+++ b/contents+fr.po
@@ -2743,6 +2743,8 @@ msgstr ""
 msgid ""
 "* Antivirus or malware protection blocking users from accessing Tor Browser."
 msgstr ""
+"* La protection antivirus ou malware empêchant les utilisateurs d'accéder 
au"
+" navigateur Tor."
 
 #: https//tb-manual.torproject.org/known-issues/
 #: (content/known-issues/contents+en.lrtopic.body)
@@ -3539,6 +3541,9 @@ msgid ""
 "Tor Browser for Android can be uninstalled directly from F-Droid, Google "
 "Play or from your mobile device's app settings."
 msgstr ""
+"Le navigateur Tor pour Android peut être désinstallé directement depuis "
+"F-Droid, Google Play ou depuis les paramètres de l'application de votre "
+"appareil mobile."
 
 #: https//tb-manual.torproject.org/mobile-tor/
 #: (content/mobile-tor/contents+en.lrtopic.body)
@@ -3710,6 +3715,9 @@ msgid ""
 "Then you can use it with other apps installed on your mobile device to "
 "circumvent censorship and protect against surveillance."
 msgstr ""
+"Ensuite, vous pouvez l'utiliser avec d'autres applications installées sur "
+"votre appareil mobile pour contourner la censure et vous protéger contre la "
+"surveillance."
 
 #: https//tb-manual.torproject.org/mobile-tor/
 #: (content/mobile-tor/contents+en.lrtopic.body)

___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [translation/tbmanual-contentspot] https://gitweb.torproject.org/translation.git/commit/?h=tbmanual-contentspot

2021-06-26 Thread translation
commit 48fce708845e102e7d7e355b50ad3ce3657c8c65
Author: Translation commit bot 
Date:   Sat Jun 26 18:16:53 2021 +

https://gitweb.torproject.org/translation.git/commit/?h=tbmanual-contentspot
---
 contents+fr.po | 10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/contents+fr.po b/contents+fr.po
index a1d6654221..2c110baa83 100644
--- a/contents+fr.po
+++ b/contents+fr.po
@@ -2789,12 +2789,14 @@ msgstr "* Microsoft Security Essentials"
 #: https//tb-manual.torproject.org/known-issues/
 #: (content/known-issues/contents+en.lrtopic.body)
 msgid "* Avast Antivirus"
-msgstr ""
+msgstr "* Antivirus Avast"
 
 #: https//tb-manual.torproject.org/known-issues/
 #: (content/known-issues/contents+en.lrtopic.body)
 msgid "* VPNs also tend to interfere with Tor and need to be disabled."
 msgstr ""
+"* Les VPN ont également tendance à interférer avec Tor et doivent être "
+"désactivés."
 
 #: https//tb-manual.torproject.org/known-issues/
 #: (content/known-issues/contents+en.lrtopic.body)
@@ -3002,6 +3004,8 @@ msgid ""
 "1. Install the F-Droid app on your Android device from [the F-Droid "
 "website.](https://f-droid.org/)"
 msgstr ""
+"1. Installez l'appli F-Droid sur votre appareil Android depuis [le site web "
+"de F-Droid.](https://f-droid.org/)"
 
 #: https//tb-manual.torproject.org/mobile-tor/
 #: (content/mobile-tor/contents+en.lrtopic.body)
@@ -3317,7 +3321,7 @@ msgstr ""
 #: https//tb-manual.torproject.org/mobile-tor/
 #: (content/mobile-tor/contents+en.lrtopic.body)
 msgid "Tapping on this button will provide you with a new identity."
-msgstr ""
+msgstr "Appuyer sur ce bouton vous fournira une nouvelle identité."
 
 #: https//tb-manual.torproject.org/mobile-tor/
 #: (content/mobile-tor/contents+en.lrtopic.body)
@@ -3461,7 +3465,7 @@ msgstr ""
 #: https//tb-manual.torproject.org/mobile-tor/
 #: (content/mobile-tor/contents+en.lrtopic.body)
 msgid "Tap on \"Settings\", then go to \"Manage installed apps\"."
-msgstr ""
+msgstr "Appuyez sur \"Paramètres\", puis allez sur \"Gérer les applis 
installés\"."
 
 #: https//tb-manual.torproject.org/mobile-tor/
 #: (content/mobile-tor/contents+en.lrtopic.body)

___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [translation/tor-launcher-network-settings_completed] https://gitweb.torproject.org/translation.git/commit/?h=tor-launcher-network-settings_completed

2021-06-26 Thread translation
commit 8479e4f10ccb5e627a535abd61c2dd31bed429a7
Author: Translation commit bot 
Date:   Sat Jun 26 16:17:32 2021 +


https://gitweb.torproject.org/translation.git/commit/?h=tor-launcher-network-settings_completed
---
 mk/network-settings.dtd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mk/network-settings.dtd b/mk/network-settings.dtd
index 6c6afc55c0..aad3842490 100644
--- a/mk/network-settings.dtd
+++ b/mk/network-settings.dtd
@@ -67,7 +67,7 @@
 
 
 
-
+
 
 
 

___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/release-0.4.6] Merge branch 'maint-0.4.5' into maint-0.4.6

2021-06-26 Thread nickm
commit 45c8d69cbbde06cc8046e7f1fce25a5aee049d4e
Merge: 2c00ad36cd 83483bd4f6
Author: Nick Mathewson 
Date:   Sat Jun 26 10:04:38 2021 -0400

Merge branch 'maint-0.4.5' into maint-0.4.6

 changes/ticket40419 |  3 +++
 src/test/test_address_set.c | 13 +
 2 files changed, 16 insertions(+)




___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/release-0.4.5] Enable deterministic RNG for address set tests.

2021-06-26 Thread nickm
commit 83483bd4f6326b519871208b3e5af4ae01f13179
Author: Alexander Færøy 
Date:   Fri Jun 25 16:29:53 2021 +

Enable deterministic RNG for address set tests.

This patch enables the deterministic RNG for address set tests,
including the tests which uses address set indirectly via the nodelist
API.

This should prevent random test failures in the highly unlikely case of
a false positive which was seen in tor#40419.

See: tpo/core/tor#40419.
---
 changes/ticket40419 |  3 +++
 src/test/test_address_set.c | 13 +
 2 files changed, 16 insertions(+)

diff --git a/changes/ticket40419 b/changes/ticket40419
new file mode 100644
index 00..0004329662
--- /dev/null
+++ b/changes/ticket40419
@@ -0,0 +1,3 @@
+  o Minor features (testing):
+- Enable the deterministic RNG for unit tests that covers the address set
+  bloomfilter-based API's. Fixes bug 40419; bugfix on 0.3.3.2-alpha.
diff --git a/src/test/test_address_set.c b/src/test/test_address_set.c
index a73fbab76a..37688f4c1d 100644
--- a/src/test/test_address_set.c
+++ b/src/test/test_address_set.c
@@ -17,6 +17,7 @@
 #include "feature/nodelist/routerstatus_st.h"
 
 #include "test/test.h"
+#include "test/rng_test_helpers.h"
 
 static networkstatus_t *dummy_ns = NULL;
 static networkstatus_t *
@@ -62,6 +63,10 @@ test_contains(void *arg)
   tor_addr_parse(_v4, "42.42.42.42");
   uint32_t ipv4h = tor_addr_to_ipv4h(_v4);
 
+  /* Use our deterministic RNG since the address set uses a bloom filter
+   * internally. */
+  testing_enable_deterministic_rng();
+
   /* Make it very big so the chance of failing the contain test will be
* extremely rare. */
   set = address_set_new(1024);
@@ -89,6 +94,8 @@ test_contains(void *arg)
 
  done:
   address_set_free(set);
+
+  testing_disable_deterministic_rng();
 }
 
 static void
@@ -108,6 +115,10 @@ test_nodelist(void *arg)
   MOCK(dirlist_add_trusted_dir_addresses,
mock_dirlist_add_trusted_dir_addresses);
 
+  /* Use our deterministic RNG since the address set, used for
+   * nodelist_probably_contains_address() uses a bloom filter internally. */
+  testing_enable_deterministic_rng();
+
   dummy_ns = tor_malloc_zero(sizeof(*dummy_ns));
   dummy_ns->flavor = FLAV_MICRODESC;
   dummy_ns->routerstatus_list = smartlist_new();
@@ -179,6 +190,8 @@ test_nodelist(void *arg)
   UNMOCK(networkstatus_get_latest_consensus_by_flavor);
   UNMOCK(get_estimated_address_per_node);
   UNMOCK(dirlist_add_trusted_dir_addresses);
+
+  testing_disable_deterministic_rng();
 }
 
 /** Test that the no-reentry exit filter works as intended */



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/release-0.4.6] Merge branch 'maint-0.4.6' into release-0.4.6

2021-06-26 Thread nickm
commit 8edd19ca728523bf6b4b4d0ef6e507eef740b604
Merge: 3abb9180cb 45c8d69cbb
Author: Nick Mathewson 
Date:   Sat Jun 26 10:04:38 2021 -0400

Merge branch 'maint-0.4.6' into release-0.4.6

 changes/ticket40419 |  3 +++
 src/test/test_address_set.c | 13 +
 2 files changed, 16 insertions(+)

___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/release-0.4.5] Merge branch 'maint-0.4.5' into release-0.4.5

2021-06-26 Thread nickm
commit 9b2a499e12e775d684542c6589eb0a72761bf3dd
Merge: ecc1e8eacb 83483bd4f6
Author: Nick Mathewson 
Date:   Sat Jun 26 10:04:38 2021 -0400

Merge branch 'maint-0.4.5' into release-0.4.5

 changes/ticket40419 |  3 +++
 src/test/test_address_set.c | 13 +
 2 files changed, 16 insertions(+)

___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/maint-0.4.6] Merge branch 'maint-0.4.5' into maint-0.4.6

2021-06-26 Thread nickm
commit 45c8d69cbbde06cc8046e7f1fce25a5aee049d4e
Merge: 2c00ad36cd 83483bd4f6
Author: Nick Mathewson 
Date:   Sat Jun 26 10:04:38 2021 -0400

Merge branch 'maint-0.4.5' into maint-0.4.6

 changes/ticket40419 |  3 +++
 src/test/test_address_set.c | 13 +
 2 files changed, 16 insertions(+)

___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/release-0.4.6] Enable deterministic RNG for address set tests.

2021-06-26 Thread nickm
commit 83483bd4f6326b519871208b3e5af4ae01f13179
Author: Alexander Færøy 
Date:   Fri Jun 25 16:29:53 2021 +

Enable deterministic RNG for address set tests.

This patch enables the deterministic RNG for address set tests,
including the tests which uses address set indirectly via the nodelist
API.

This should prevent random test failures in the highly unlikely case of
a false positive which was seen in tor#40419.

See: tpo/core/tor#40419.
---
 changes/ticket40419 |  3 +++
 src/test/test_address_set.c | 13 +
 2 files changed, 16 insertions(+)

diff --git a/changes/ticket40419 b/changes/ticket40419
new file mode 100644
index 00..0004329662
--- /dev/null
+++ b/changes/ticket40419
@@ -0,0 +1,3 @@
+  o Minor features (testing):
+- Enable the deterministic RNG for unit tests that covers the address set
+  bloomfilter-based API's. Fixes bug 40419; bugfix on 0.3.3.2-alpha.
diff --git a/src/test/test_address_set.c b/src/test/test_address_set.c
index a73fbab76a..37688f4c1d 100644
--- a/src/test/test_address_set.c
+++ b/src/test/test_address_set.c
@@ -17,6 +17,7 @@
 #include "feature/nodelist/routerstatus_st.h"
 
 #include "test/test.h"
+#include "test/rng_test_helpers.h"
 
 static networkstatus_t *dummy_ns = NULL;
 static networkstatus_t *
@@ -62,6 +63,10 @@ test_contains(void *arg)
   tor_addr_parse(_v4, "42.42.42.42");
   uint32_t ipv4h = tor_addr_to_ipv4h(_v4);
 
+  /* Use our deterministic RNG since the address set uses a bloom filter
+   * internally. */
+  testing_enable_deterministic_rng();
+
   /* Make it very big so the chance of failing the contain test will be
* extremely rare. */
   set = address_set_new(1024);
@@ -89,6 +94,8 @@ test_contains(void *arg)
 
  done:
   address_set_free(set);
+
+  testing_disable_deterministic_rng();
 }
 
 static void
@@ -108,6 +115,10 @@ test_nodelist(void *arg)
   MOCK(dirlist_add_trusted_dir_addresses,
mock_dirlist_add_trusted_dir_addresses);
 
+  /* Use our deterministic RNG since the address set, used for
+   * nodelist_probably_contains_address() uses a bloom filter internally. */
+  testing_enable_deterministic_rng();
+
   dummy_ns = tor_malloc_zero(sizeof(*dummy_ns));
   dummy_ns->flavor = FLAV_MICRODESC;
   dummy_ns->routerstatus_list = smartlist_new();
@@ -179,6 +190,8 @@ test_nodelist(void *arg)
   UNMOCK(networkstatus_get_latest_consensus_by_flavor);
   UNMOCK(get_estimated_address_per_node);
   UNMOCK(dirlist_add_trusted_dir_addresses);
+
+  testing_disable_deterministic_rng();
 }
 
 /** Test that the no-reentry exit filter works as intended */



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/main] Merge branch 'maint-0.4.5' into maint-0.4.6

2021-06-26 Thread nickm
commit 45c8d69cbbde06cc8046e7f1fce25a5aee049d4e
Merge: 2c00ad36cd 83483bd4f6
Author: Nick Mathewson 
Date:   Sat Jun 26 10:04:38 2021 -0400

Merge branch 'maint-0.4.5' into maint-0.4.6

 changes/ticket40419 |  3 +++
 src/test/test_address_set.c | 13 +
 2 files changed, 16 insertions(+)




___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/maint-0.4.5] Enable deterministic RNG for address set tests.

2021-06-26 Thread nickm
commit 83483bd4f6326b519871208b3e5af4ae01f13179
Author: Alexander Færøy 
Date:   Fri Jun 25 16:29:53 2021 +

Enable deterministic RNG for address set tests.

This patch enables the deterministic RNG for address set tests,
including the tests which uses address set indirectly via the nodelist
API.

This should prevent random test failures in the highly unlikely case of
a false positive which was seen in tor#40419.

See: tpo/core/tor#40419.
---
 changes/ticket40419 |  3 +++
 src/test/test_address_set.c | 13 +
 2 files changed, 16 insertions(+)

diff --git a/changes/ticket40419 b/changes/ticket40419
new file mode 100644
index 00..0004329662
--- /dev/null
+++ b/changes/ticket40419
@@ -0,0 +1,3 @@
+  o Minor features (testing):
+- Enable the deterministic RNG for unit tests that covers the address set
+  bloomfilter-based API's. Fixes bug 40419; bugfix on 0.3.3.2-alpha.
diff --git a/src/test/test_address_set.c b/src/test/test_address_set.c
index a73fbab76a..37688f4c1d 100644
--- a/src/test/test_address_set.c
+++ b/src/test/test_address_set.c
@@ -17,6 +17,7 @@
 #include "feature/nodelist/routerstatus_st.h"
 
 #include "test/test.h"
+#include "test/rng_test_helpers.h"
 
 static networkstatus_t *dummy_ns = NULL;
 static networkstatus_t *
@@ -62,6 +63,10 @@ test_contains(void *arg)
   tor_addr_parse(_v4, "42.42.42.42");
   uint32_t ipv4h = tor_addr_to_ipv4h(_v4);
 
+  /* Use our deterministic RNG since the address set uses a bloom filter
+   * internally. */
+  testing_enable_deterministic_rng();
+
   /* Make it very big so the chance of failing the contain test will be
* extremely rare. */
   set = address_set_new(1024);
@@ -89,6 +94,8 @@ test_contains(void *arg)
 
  done:
   address_set_free(set);
+
+  testing_disable_deterministic_rng();
 }
 
 static void
@@ -108,6 +115,10 @@ test_nodelist(void *arg)
   MOCK(dirlist_add_trusted_dir_addresses,
mock_dirlist_add_trusted_dir_addresses);
 
+  /* Use our deterministic RNG since the address set, used for
+   * nodelist_probably_contains_address() uses a bloom filter internally. */
+  testing_enable_deterministic_rng();
+
   dummy_ns = tor_malloc_zero(sizeof(*dummy_ns));
   dummy_ns->flavor = FLAV_MICRODESC;
   dummy_ns->routerstatus_list = smartlist_new();
@@ -179,6 +190,8 @@ test_nodelist(void *arg)
   UNMOCK(networkstatus_get_latest_consensus_by_flavor);
   UNMOCK(get_estimated_address_per_node);
   UNMOCK(dirlist_add_trusted_dir_addresses);
+
+  testing_disable_deterministic_rng();
 }
 
 /** Test that the no-reentry exit filter works as intended */

___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/main] Enable deterministic RNG for address set tests.

2021-06-26 Thread nickm
commit 83483bd4f6326b519871208b3e5af4ae01f13179
Author: Alexander Færøy 
Date:   Fri Jun 25 16:29:53 2021 +

Enable deterministic RNG for address set tests.

This patch enables the deterministic RNG for address set tests,
including the tests which uses address set indirectly via the nodelist
API.

This should prevent random test failures in the highly unlikely case of
a false positive which was seen in tor#40419.

See: tpo/core/tor#40419.
---
 changes/ticket40419 |  3 +++
 src/test/test_address_set.c | 13 +
 2 files changed, 16 insertions(+)

diff --git a/changes/ticket40419 b/changes/ticket40419
new file mode 100644
index 00..0004329662
--- /dev/null
+++ b/changes/ticket40419
@@ -0,0 +1,3 @@
+  o Minor features (testing):
+- Enable the deterministic RNG for unit tests that covers the address set
+  bloomfilter-based API's. Fixes bug 40419; bugfix on 0.3.3.2-alpha.
diff --git a/src/test/test_address_set.c b/src/test/test_address_set.c
index a73fbab76a..37688f4c1d 100644
--- a/src/test/test_address_set.c
+++ b/src/test/test_address_set.c
@@ -17,6 +17,7 @@
 #include "feature/nodelist/routerstatus_st.h"
 
 #include "test/test.h"
+#include "test/rng_test_helpers.h"
 
 static networkstatus_t *dummy_ns = NULL;
 static networkstatus_t *
@@ -62,6 +63,10 @@ test_contains(void *arg)
   tor_addr_parse(_v4, "42.42.42.42");
   uint32_t ipv4h = tor_addr_to_ipv4h(_v4);
 
+  /* Use our deterministic RNG since the address set uses a bloom filter
+   * internally. */
+  testing_enable_deterministic_rng();
+
   /* Make it very big so the chance of failing the contain test will be
* extremely rare. */
   set = address_set_new(1024);
@@ -89,6 +94,8 @@ test_contains(void *arg)
 
  done:
   address_set_free(set);
+
+  testing_disable_deterministic_rng();
 }
 
 static void
@@ -108,6 +115,10 @@ test_nodelist(void *arg)
   MOCK(dirlist_add_trusted_dir_addresses,
mock_dirlist_add_trusted_dir_addresses);
 
+  /* Use our deterministic RNG since the address set, used for
+   * nodelist_probably_contains_address() uses a bloom filter internally. */
+  testing_enable_deterministic_rng();
+
   dummy_ns = tor_malloc_zero(sizeof(*dummy_ns));
   dummy_ns->flavor = FLAV_MICRODESC;
   dummy_ns->routerstatus_list = smartlist_new();
@@ -179,6 +190,8 @@ test_nodelist(void *arg)
   UNMOCK(networkstatus_get_latest_consensus_by_flavor);
   UNMOCK(get_estimated_address_per_node);
   UNMOCK(dirlist_add_trusted_dir_addresses);
+
+  testing_disable_deterministic_rng();
 }
 
 /** Test that the no-reentry exit filter works as intended */



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/main] Merge branch 'maint-0.4.6'

2021-06-26 Thread nickm
commit 45b5987115b526b1966985db77eb5783670ac536
Merge: 270398fa31 45c8d69cbb
Author: Nick Mathewson 
Date:   Sat Jun 26 10:04:38 2021 -0400

Merge branch 'maint-0.4.6'

 changes/ticket40419 |  3 +++
 src/test/test_address_set.c | 13 +
 2 files changed, 16 insertions(+)

___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/maint-0.4.6] Enable deterministic RNG for address set tests.

2021-06-26 Thread nickm
commit 83483bd4f6326b519871208b3e5af4ae01f13179
Author: Alexander Færøy 
Date:   Fri Jun 25 16:29:53 2021 +

Enable deterministic RNG for address set tests.

This patch enables the deterministic RNG for address set tests,
including the tests which uses address set indirectly via the nodelist
API.

This should prevent random test failures in the highly unlikely case of
a false positive which was seen in tor#40419.

See: tpo/core/tor#40419.
---
 changes/ticket40419 |  3 +++
 src/test/test_address_set.c | 13 +
 2 files changed, 16 insertions(+)

diff --git a/changes/ticket40419 b/changes/ticket40419
new file mode 100644
index 00..0004329662
--- /dev/null
+++ b/changes/ticket40419
@@ -0,0 +1,3 @@
+  o Minor features (testing):
+- Enable the deterministic RNG for unit tests that covers the address set
+  bloomfilter-based API's. Fixes bug 40419; bugfix on 0.3.3.2-alpha.
diff --git a/src/test/test_address_set.c b/src/test/test_address_set.c
index a73fbab76a..37688f4c1d 100644
--- a/src/test/test_address_set.c
+++ b/src/test/test_address_set.c
@@ -17,6 +17,7 @@
 #include "feature/nodelist/routerstatus_st.h"
 
 #include "test/test.h"
+#include "test/rng_test_helpers.h"
 
 static networkstatus_t *dummy_ns = NULL;
 static networkstatus_t *
@@ -62,6 +63,10 @@ test_contains(void *arg)
   tor_addr_parse(_v4, "42.42.42.42");
   uint32_t ipv4h = tor_addr_to_ipv4h(_v4);
 
+  /* Use our deterministic RNG since the address set uses a bloom filter
+   * internally. */
+  testing_enable_deterministic_rng();
+
   /* Make it very big so the chance of failing the contain test will be
* extremely rare. */
   set = address_set_new(1024);
@@ -89,6 +94,8 @@ test_contains(void *arg)
 
  done:
   address_set_free(set);
+
+  testing_disable_deterministic_rng();
 }
 
 static void
@@ -108,6 +115,10 @@ test_nodelist(void *arg)
   MOCK(dirlist_add_trusted_dir_addresses,
mock_dirlist_add_trusted_dir_addresses);
 
+  /* Use our deterministic RNG since the address set, used for
+   * nodelist_probably_contains_address() uses a bloom filter internally. */
+  testing_enable_deterministic_rng();
+
   dummy_ns = tor_malloc_zero(sizeof(*dummy_ns));
   dummy_ns->flavor = FLAV_MICRODESC;
   dummy_ns->routerstatus_list = smartlist_new();
@@ -179,6 +190,8 @@ test_nodelist(void *arg)
   UNMOCK(networkstatus_get_latest_consensus_by_flavor);
   UNMOCK(get_estimated_address_per_node);
   UNMOCK(dirlist_add_trusted_dir_addresses);
+
+  testing_disable_deterministic_rng();
 }
 
 /** Test that the no-reentry exit filter works as intended */



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [translation/tbmanual-contentspot] https://gitweb.torproject.org/translation.git/commit/?h=tbmanual-contentspot

2021-06-26 Thread translation
commit 03fd94fc94b77c3ad70bf118f5315b1a5ed287e3
Author: Translation commit bot 
Date:   Sat Jun 26 12:46:47 2021 +

https://gitweb.torproject.org/translation.git/commit/?h=tbmanual-contentspot
---
 contents+fr.po | 8 
 1 file changed, 8 insertions(+)

diff --git a/contents+fr.po b/contents+fr.po
index 28470aebb1..a1d6654221 100644
--- a/contents+fr.po
+++ b/contents+fr.po
@@ -2830,6 +2830,7 @@ msgstr "* Tor ne peut pas utiliser un pont si un 
mandataire est défini."
 #: (content/known-issues/contents+en.lrtopic.body)
 msgid "* The Tor Browser package is dated January 1, 2000 00:00:00 UTC."
 msgstr ""
+"* Le paquet du Navigateur Tor est daté du 1er janvier 2000 00:00:00 UTC."
 
 #: https//tb-manual.torproject.org/known-issues/
 #: (content/known-issues/contents+en.lrtopic.body)
@@ -2946,6 +2947,8 @@ msgid ""
 "Tor Browser for Android is available on Play Store, F-Droid and the Tor "
 "Project website."
 msgstr ""
+"Le Navigateur Tor pour Android est disponible sur Play Store, F-Droid et sur"
+" le site web du Projet Tor."
 
 #: https//tb-manual.torproject.org/mobile-tor/
 #: (content/mobile-tor/contents+en.lrtopic.body)
@@ -3085,6 +3088,9 @@ msgid ""
 "connect directly to the Tor network, or to configure Tor Browser for your "
 "connection with the settings icon."
 msgstr ""
+"Lorsque vous exécutez le navigateur Tor pour la première fois, vous verrez "
+"l'option de se connecter directement au réseau Tor, ou de configurer le "
+"navigateur Tor pour votre connexion avec l'icône des paramètres."
 
 #: https//tb-manual.torproject.org/mobile-tor/
 #: (content/mobile-tor/contents+en.lrtopic.body)
@@ -3106,6 +3112,8 @@ msgid ""
 "Once tapped, changing sentences will appear at the bottom of the screen, "
 "indicating Tor’s connection progress."
 msgstr ""
+"Une fois tapé, des phrases changeantes apparaîtront en bas de l'écran, "
+"indiquant la progression de la connexion de Tor."
 
 #: https//tb-manual.torproject.org/mobile-tor/
 #: (content/mobile-tor/contents+en.lrtopic.body)

___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [translation/tbmanual-contentspot] https://gitweb.torproject.org/translation.git/commit/?h=tbmanual-contentspot

2021-06-26 Thread translation
commit 6c75988afbb5085ec6810d75cdcedb767e2a8d75
Author: Translation commit bot 
Date:   Sat Jun 26 12:16:43 2021 +

https://gitweb.torproject.org/translation.git/commit/?h=tbmanual-contentspot
---
 contents+fr.po | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contents+fr.po b/contents+fr.po
index ec1cca76a8..28470aebb1 100644
--- a/contents+fr.po
+++ b/contents+fr.po
@@ -2814,7 +2814,7 @@ msgstr ""
 #: https//tb-manual.torproject.org/known-issues/
 #: (content/known-issues/contents+en.lrtopic.body)
 msgid "* Videos that require Adobe Flash are unavailable."
-msgstr ""
+msgstr "* Les vidéos nécessitant Adobe Flash ne sont pas disponibles."
 
 #: https//tb-manual.torproject.org/known-issues/
 #: (content/known-issues/contents+en.lrtopic.body)

___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [translation/tbmanual-contentspot] https://gitweb.torproject.org/translation.git/commit/?h=tbmanual-contentspot

2021-06-26 Thread translation
commit b537764b6fa2ee8f0a90f72bf2ff1746f15939f8
Author: Translation commit bot 
Date:   Sat Jun 26 09:46:56 2021 +

https://gitweb.torproject.org/translation.git/commit/?h=tbmanual-contentspot
---
 contents+fr.po | 11 +++
 1 file changed, 11 insertions(+)

diff --git a/contents+fr.po b/contents+fr.po
index 8fb1506093..ec1cca76a8 100644
--- a/contents+fr.po
+++ b/contents+fr.po
@@ -2279,6 +2279,8 @@ msgid ""
 "* Make sure that any antivirus program you have installed is not preventing "
 "Tor from running."
 msgstr ""
+"* Assurez-vous qu'aucun programme antivirus que vous avez installé 
n'empêche"
+" Tor de s'exécuter."
 
 #: https//tb-manual.torproject.org/troubleshooting/
 #: (content/troubleshooting/contents+en.lrtopic.body)
@@ -2286,6 +2288,8 @@ msgid ""
 "You may need to consult the documentation for your antivirus software if you"
 " do not know how to do this."
 msgstr ""
+"Vous devrez peut-être consulter la documentation de votre logiciel antivirus"
+" si vous ne savez pas comment faire."
 
 #: https//tb-manual.torproject.org/troubleshooting/
 #: (content/troubleshooting/contents+en.lrtopic.body)
@@ -2298,6 +2302,8 @@ msgid ""
 "* If Tor Browser was working before and is not working now your system may "
 "have been hibernating."
 msgstr ""
+"* Si le navigateur Tor fonctionnait auparavant et ne fonctionne plus "
+"maintenant, votre système a peut-être été en veille prolongée."
 
 #: https//tb-manual.torproject.org/troubleshooting/
 #: (content/troubleshooting/contents+en.lrtopic.body)
@@ -2315,6 +2321,9 @@ msgid ""
 "If updating, do not just overwrite your previous Tor Browser files; ensure "
 "they are fully deleted beforehand."
 msgstr ""
+"En cas de mise à jour, ne remplacez pas simplement vos fichiers précédents 
"
+"du navigateur Tor; assurez-vous au préalable qu'ils soient complètement "
+"supprimés."
 
 #: https//tb-manual.torproject.org/troubleshooting/
 #: (content/troubleshooting/contents+en.lrtopic.body)
@@ -2405,6 +2414,8 @@ msgid ""
 "If you still can’t connect, your Internet Service Provider might be "
 "censoring connections to the Tor network."
 msgstr ""
+"Si vous ne parvenez toujours pas à vous connecter, votre Fournisseur 
d'Accès"
+" à Internet censure peut-être les connexions au réseau Tor."
 
 #: https//tb-manual.torproject.org/troubleshooting/
 #: (content/troubleshooting/contents+en.lrtopic.body)

___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits