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.

This commit is contained in:
friendica
2014-03-25 15:19:18 -07:00
parent f14596b1eb
commit 7375e30506
5 changed files with 33 additions and 18 deletions

View File

@@ -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;
}
}
function update_r1103() {
$x = curl_version();
if(stristr($x['ssl_version'],'openssl'))
set_config('system','curl_ssl_ciphers','ALL:!eNULL');
return UPDATE_SUCCESS;
}