diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2021-04-30 10:53:19 +0300 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2021-04-30 10:55:22 +0300 |
commit | bc58fb0fbdf22c9518579d13c5d511f37d34367d (patch) | |
tree | 803e00fbba22a340e4b7c1836f49c55ecb68b1ae /src/main/res/values | |
parent | ec061bedc142a0f688cffe09144b4027a669ab84 (diff) |
Always verify hostname/domain
There might be corner cases where it is required to use self signed
certificates. However there should be no corner cases where it is
required to use a wrong domain name. This commit swaps out the
MemorizingHostnameVerifier that let users accept wrong domains with the
standard XmppDomainVerifier.
closes #4066
Diffstat (limited to 'src/main/res/values')
-rw-r--r-- | src/main/res/values/strings.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 1b4b56e7d..2db8b1da3 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -163,6 +163,7 @@ <string name="account_status_regis_not_sup">Registration not supported by server</string> <string name="account_status_regis_invalid_token">Invalid registration token</string> <string name="account_status_tls_error">TLS negotiation failed</string> + <string name="account_status_tls_error_domain">Domain not verifiable</string> <string name="account_status_policy_violation">Policy violation</string> <string name="account_status_incompatible_server">Incompatible server</string> <string name="account_status_stream_error">Stream error</string> |