diff options
author | zotlabs <mike@macgirvin.com> | 2018-02-26 16:39:12 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-02-26 16:39:12 -0800 |
commit | 87079e8071e491dd6d0bb4a76723b53010fdf509 (patch) | |
tree | c5feffa5afe5392c6073ecbb4bb518a3edc82a88 /Zotlabs/Module/Admin | |
parent | f83b7c2d52ba122d9695c68fdbfaf0ed12e55ebc (diff) | |
download | volse-hubzilla-87079e8071e491dd6d0bb4a76723b53010fdf509.tar.gz volse-hubzilla-87079e8071e491dd6d0bb4a76723b53010fdf509.tar.bz2 volse-hubzilla-87079e8071e491dd6d0bb4a76723b53010fdf509.zip |
require directory servers to be using some modern form of encryption; which means we only currently have 2.
Diffstat (limited to 'Zotlabs/Module/Admin')
-rw-r--r-- | Zotlabs/Module/Admin/Site.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Admin/Site.php b/Zotlabs/Module/Admin/Site.php index b7c558ce7..880dbbe4b 100644 --- a/Zotlabs/Module/Admin/Site.php +++ b/Zotlabs/Module/Admin/Site.php @@ -220,9 +220,10 @@ class Site { $realm = get_directory_realm(); // directory server should not be set or settable unless we are a directory client + // avoid older redmatrix servers which don't have modern encryption if($dirmode == DIRECTORY_MODE_NORMAL) { - $x = q("select site_url from site where site_flags in (%d,%d) and site_realm = '%s' and site_dead = 0", + $x = q("select site_url from site where site_flags in (%d,%d) and site_realm = '%s' and site_dead = 0 and site_project != 'redmatrix'", intval(DIRECTORY_MODE_SECONDARY), intval(DIRECTORY_MODE_PRIMARY), dbesc($realm) |