Make legacy SSL option default to false
This commit is contained in:
parent
6c7c3ddf15
commit
99ee049115
|
@ -89,7 +89,7 @@
|
|||
android:summary="@string/pref_dont_save_encrypted_summary"
|
||||
android:title="@string/pref_dont_save_encrypted" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:defaultValue="false"
|
||||
android:key="enable_legacy_ssl"
|
||||
android:summary="@string/pref_enable_legacy_ssl_summary"
|
||||
android:title="@string/pref_enable_legacy_ssl" />
|
||||
|
|
|
@ -517,7 +517,7 @@ public class XmppConnection implements Runnable {
|
|||
}
|
||||
|
||||
private boolean enableLegacySSL() {
|
||||
return getPreferences().getBoolean("enable_legacy_ssl", true);
|
||||
return getPreferences().getBoolean("enable_legacy_ssl", false);
|
||||
}
|
||||
|
||||
private void switchOverToTls(Tag currentTag) throws XmlPullParserException,
|
||||
|
|
Loading…
Reference in New Issue