Skip to content

fix openssl check for password-argon2#1140

Merged
henderkes merged 1 commit into
mainfrom
fix/argon2
May 16, 2026
Merged

fix openssl check for password-argon2#1140
henderkes merged 1 commit into
mainfrom
fix/argon2

Conversation

@henderkes
Copy link
Copy Markdown
Collaborator

What does this PR do?

closes #1139

Checklist before merging

If your PR involves the changes mentioned below and completed the action, please tick the corresponding option.
If a modification is not involved, please skip it directly.

  • If you modified *.php or *.json, run them locally to ensure your changes are valid:
    • composer cs-fix
    • composer analyse
    • composer test
    • bin/spc dev:sort-config
  • If it's an extension or dependency update, please ensure the following:
    • Add your test combination to src/globals/test-extensions.php.
    • If adding new or fixing bugs, add commit message containing extension test or test extensions to trigger full test suite.

public function getConfigureArg(bool $shared = false): string
{
if ($this->builder->getLib('openssl') !== null) {
if ($this->builder->getExt('openssl')?->isBuildStatic() || $this->isBuildShared()) {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Theoretically we cannot build password-argon2 as a standalone shared extension.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, true.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't matter anyway, should just fix in v3 branch

@henderkes henderkes merged commit f9f4ca9 into main May 16, 2026
7 checks passed
@henderkes henderkes deleted the fix/argon2 branch May 16, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

can't compile with password-argon2

2 participants