Skip to content

Commit

Permalink
Merge pull request #298 from demeritcowboy/make-ssl-work
Browse files Browse the repository at this point in the history
dev/core#1137 - Make ssl database connections without client certificates work in php7
  • Loading branch information
seamuslee001 authored Jun 28, 2020
2 parents 4b4422f + e6d8599 commit 297fd86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DB/mysqli.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,8 @@ function connect($dsn, $persistent = false)
$dsn['password'],
$dsn['database'],
$dsn['port'],
$dsn['socket']))
$dsn['socket'],
MYSQLI_CLIENT_SSL))
{
$this->connection = $init;
}
Expand Down

0 comments on commit 297fd86

Please sign in to comment.