mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 11:49:04 +01:00
Add test for snowflake parameters.
This commit is contained in:
@@ -94,7 +94,9 @@ class CircumventionProviderImpl implements CircumventionProvider {
|
||||
return bridges;
|
||||
}
|
||||
|
||||
private String getSnowflakeParams(String countryCode, boolean letsEncrypt) {
|
||||
// Package access for testing
|
||||
@SuppressWarnings("WeakerAccess")
|
||||
String getSnowflakeParams(String countryCode, boolean letsEncrypt) {
|
||||
Map<String, String> params = loadSnowflakeParams();
|
||||
if (countryCode.isEmpty()) countryCode = DEFAULT_COUNTRY_CODE;
|
||||
// If we have parameters for this country code, return them
|
||||
|
||||
Reference in New Issue
Block a user