Skip to content

Commit 59ac81f

Browse files
committed
Update regarding changed OpenSSL default config path
1 parent 0aa3acc commit 59ac81f

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ PHP NEWS
1818
. Fixed bug #78609 (mb_check_encoding() no longer supports stringable
1919
objects). (cmb)
2020

21+
- OpenSSL:
22+
. Changed the default config path (Windows only). (cmb)
23+
2124
- Standard:
2225
. Fixed bug #78549 (Stack overflow due to nested serialized input). (Nikita)
2326

UPGRADING

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,10 @@ PHP 7.4 UPGRADE NOTES
690690
the INI directive opcache.cache_id. All processes with the same cache ID and
691691
user share an OPcache instance.
692692

693+
- The OpenSSL default config path has been changed to
694+
"C:\Program Files\Common Files\SSL\openssl.cnf" and
695+
"C:\Program Files (x86)\Common Files\SSL\openssl.cnf", repectively.
696+
693697
========================================
694698
13. Migration to pkg-config
695699
========================================

ext/openssl/tests/check_default_conf_path.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ phpinfo();
1414
$info = ob_get_contents();
1515
ob_end_clean();
1616

17-
preg_match(",Openssl default config .* (.*),", $info, $m);
17+
preg_match(",Openssl default config [^ ]* (.*),", $info, $m);
1818

1919
if (isset($m[1])) {
2020
var_dump(str_replace('/', '\\', strtolower($m[1])));
2121
}
2222
?>
23-
--EXPECT--
24-
string(28) "c:\usr\local\ssl\openssl.cnf"
23+
--EXPECTF--
24+
string(%d) "c:\program files%r( \(x86\)|)%r\common files\ssl\openssl.cnf"

0 commit comments

Comments
 (0)