Skip to content

Commit b644da8

Browse files
committed
Remove redundant patches for openssl
1 parent f1a9a28 commit b644da8

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/SPC/builder/extension/openssl.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,11 @@
55
namespace SPC\builder\extension;
66

77
use SPC\builder\Extension;
8-
use SPC\store\FileSystem;
98
use SPC\util\CustomExt;
109

1110
#[CustomExt('openssl')]
1211
class openssl extends Extension
1312
{
14-
public function patchBeforeBuildconf(): bool
15-
{
16-
// Fix php 8.5 alpha1~4 zts openssl build bug
17-
FileSystem::replaceFileStr(
18-
SOURCE_PATH . '/php-src/ext/openssl/config.w32',
19-
'WARNING("OpenSSL argon2 hashing not supported in ZTS mode for now");',
20-
'AC_DEFINE("HAVE_OPENSSL_ARGON2", 1, "Define to 1 to enable OpenSSL argon2 password hashing.");'
21-
);
22-
return true;
23-
}
24-
2513
public function patchBeforeMake(): bool
2614
{
2715
$patched = parent::patchBeforeMake();

0 commit comments

Comments
 (0)