diff options
Diffstat (limited to 'dev-db/phpmyadmin/files/phpmyadmin-2.11.5-custom-cert.patch')
-rw-r--r-- | dev-db/phpmyadmin/files/phpmyadmin-2.11.5-custom-cert.patch | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/dev-db/phpmyadmin/files/phpmyadmin-2.11.5-custom-cert.patch b/dev-db/phpmyadmin/files/phpmyadmin-2.11.5-custom-cert.patch deleted file mode 100644 index 9e75b8d877b0..000000000000 --- a/dev-db/phpmyadmin/files/phpmyadmin-2.11.5-custom-cert.patch +++ /dev/null @@ -1,14 +0,0 @@ -Index: phpMyAdmin-2.11.5-all-languages-utf-8-only/libraries/dbi/mysqli.dbi.lib.php -=================================================================== ---- phpMyAdmin-2.11.5-all-languages-utf-8-only.orig/libraries/dbi/mysqli.dbi.lib.php -+++ phpMyAdmin-2.11.5-all-languages-utf-8-only/libraries/dbi/mysqli.dbi.lib.php -@@ -97,6 +97,9 @@ function PMA_DBI_connect($user, $passwor - /* Optionally enable SSL */ - if ($GLOBALS['cfg']['Server']['ssl'] && defined('MYSQLI_CLIENT_SSL')) { - $client_flags |= MYSQLI_CLIENT_SSL; -+ if ($GLOBALS['cfg']['Server']['ssl-key'] && $GLOBALS['cfg']['Server']['ssl-cert'] && $GLOBALS['cfg']['Server']['ssl-ca']) { -+ mysqli_ssl_set($link, $GLOBALS['cfg']['Server']['ssl-key'], $GLOBALS['cfg']['Server']['ssl-cert'], $GLOBALS['cfg']['Server']['ssl-ca'], null, null); -+ } - } - - $return_value = @mysqli_real_connect($link, $GLOBALS['cfg']['Server']['host'], $user, $password, false, $server_port, $server_socket, $client_flags); |