diff options
author | friendica <info@friendica.com> | 2014-03-25 15:19:18 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-03-25 15:19:18 -0700 |
commit | 7375e305060df3818f01a96fbbd811921468ad89 (patch) | |
tree | 71cd4ebb6ef0bd7fa4434ef6868e141bca84c0b3 /install | |
parent | f14596b1ebeecf2c75939374136c830e44dbd923 (diff) | |
download | volse-hubzilla-7375e305060df3818f01a96fbbd811921468ad89.tar.gz volse-hubzilla-7375e305060df3818f01a96fbbd811921468ad89.tar.bz2 volse-hubzilla-7375e305060df3818f01a96fbbd811921468ad89.zip |
This should be a slight improvement in setting ciphers - we'll punt on RedHat but open up the list just for openssl distros which seem to have all the problems at the moment.
Diffstat (limited to 'install')
-rw-r--r-- | install/update.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/install/update.php b/install/update.php index 11b1c1da6..06a60db79 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1103 ); +define( 'UPDATE_VERSION' , 1104 ); /** * @@ -1158,4 +1158,11 @@ function update_r1102() { intval(ABOOK_FLAG_UNCONNECTED) ); return UPDATE_SUCCESS; -}
\ No newline at end of file +} + +function update_r1103() { + $x = curl_version(); + if(stristr($x['ssl_version'],'openssl')) + set_config('system','curl_ssl_ciphers','ALL:!eNULL'); + return UPDATE_SUCCESS; +} |