diff options
author | Rubén Calvo <rubencm@gmail.com> | 2017-03-30 08:33:04 +0200 |
---|---|---|
committer | Rubén Calvo <rubencm@gmail.com> | 2017-03-30 10:04:50 +0200 |
commit | 32f3ddca7061c7584508dd09e4b1226b8aae1aca (patch) | |
tree | ea7eda21f8344e080e13e29994bf075018be6ee8 /phpBB/includes/functions_messenger.php | |
parent | 827ded82b8110fd2c587d9d7c84731ee7215b166 (diff) | |
download | forums-32f3ddca7061c7584508dd09e4b1226b8aae1aca.tar forums-32f3ddca7061c7584508dd09e4b1226b8aae1aca.tar.gz forums-32f3ddca7061c7584508dd09e4b1226b8aae1aca.tar.bz2 forums-32f3ddca7061c7584508dd09e4b1226b8aae1aca.tar.xz forums-32f3ddca7061c7584508dd09e4b1226b8aae1aca.zip |
[ticket/15150] Add Jabber SSL context configuration options
PHPBB3-15150
Diffstat (limited to 'phpBB/includes/functions_messenger.php')
-rw-r--r-- | phpBB/includes/functions_messenger.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php index a6e4cb0679..799b687493 100644 --- a/phpBB/includes/functions_messenger.php +++ b/phpBB/includes/functions_messenger.php @@ -625,7 +625,7 @@ class messenger if (!$use_queue) { include_once($phpbb_root_path . 'includes/functions_jabber.' . $phpEx); - $this->jabber = new jabber($config['jab_host'], $config['jab_port'], $config['jab_username'], htmlspecialchars_decode($config['jab_password']), $config['jab_use_ssl']); + $this->jabber = new jabber($config['jab_host'], $config['jab_port'], $config['jab_username'], htmlspecialchars_decode($config['jab_password']), $config['jab_use_ssl'], $config['jab_verify_peer'], $config['jab_verify_peer_name'], $config['jab_allow_self_signed']); if (!$this->jabber->connect()) { @@ -800,7 +800,7 @@ class queue } include_once($phpbb_root_path . 'includes/functions_jabber.' . $phpEx); - $this->jabber = new jabber($config['jab_host'], $config['jab_port'], $config['jab_username'], htmlspecialchars_decode($config['jab_password']), $config['jab_use_ssl']); + $this->jabber = new jabber($config['jab_host'], $config['jab_port'], $config['jab_username'], htmlspecialchars_decode($config['jab_password']), $config['jab_use_ssl'], $config['jab_verify_peer'], $config['jab_verify_peer_name'], $config['jab_allow_self_signed']); if (!$this->jabber->connect()) { |