Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport #24020 to openssl-3.1 #24198

Closed
wants to merge 5 commits into from
Closed

Conversation

nhorman
Copy link
Contributor

@nhorman nhorman commented Apr 18, 2024

Backport #24020 to 3.1

Checklist
  • tests are added or updated

Modules that aren't activated at conf load time don't seem to set the
module path from the template leading to load failures.  Make sure to
set that

Fixes openssl#24020

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from openssl#24025)

(cherry picked from commit bc95959)
Ensure that, with the modulepath setting set in a config field, that we
are able to load a provider from the path relative to OPENSSL_MODULES

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from openssl#24025)

(cherry picked from commit 91a77cb)
If the p_test.so library isn't present, don't run the test

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from openssl#24025)

(cherry picked from commit b80fed3)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from openssl#24025)

(cherry picked from commit 4e3c1e6)
@nhorman nhorman self-assigned this Apr 18, 2024
@nhorman nhorman requested review from t8m and mattcaswell April 18, 2024 18:16
@nhorman nhorman linked an issue Apr 18, 2024 that may be closed by this pull request
@nhorman nhorman added the branch: 3.1 Merge to openssl-3.1 label Apr 18, 2024
@t8m t8m added approval: review pending This pull request needs review by a committer approval: otc review pending This pull request needs review by an OTC member triaged: bug The issue/pr is/fixes a bug tests: present The PR has suitable tests present labels Apr 19, 2024
@t8m t8m removed the approval: otc review pending This pull request needs review by an OTC member label Apr 19, 2024
@nhorman nhorman added the branch: 3.0 Merge to openssl-3.0 branch label Apr 19, 2024
@nhorman
Copy link
Contributor Author

nhorman commented Apr 19, 2024

coverity fix available in #24208

@nhorman nhorman added this to the 3.4.0 milestone Apr 19, 2024
coverity-1596500 caught a missing null check.  We should never hit it as
the test harness always sets the environment variable, but lets add the
check for safety

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl#24208)
@nhorman nhorman requested a review from tmshort April 22, 2024 20:48
Copy link
Member

@mattcaswell mattcaswell left a comment

Choose a reason for hiding this comment

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

Technically speaking 3.1 is now in security fix only mode...

@mattcaswell mattcaswell added approval: done This pull request has the required number of approvals and removed approval: review pending This pull request needs review by a committer labels Apr 25, 2024
@openssl-machine openssl-machine added approval: ready to merge The 24 hour grace period has passed, ready to merge and removed approval: done This pull request has the required number of approvals labels Apr 26, 2024
@openssl-machine
Copy link
Collaborator

This pull request is ready to merge

@t8m
Copy link
Member

t8m commented Apr 26, 2024

Merged to the 3.1 and 3.0 branches. Thank you.

@t8m t8m closed this Apr 26, 2024
openssl-machine pushed a commit that referenced this pull request Apr 26, 2024
Modules that aren't activated at conf load time don't seem to set the
module path from the template leading to load failures.  Make sure to
set that

Fixes #24020

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>

(cherry picked from commit bc95959)

(Merged from #24198)
openssl-machine pushed a commit that referenced this pull request Apr 26, 2024
Ensure that, with the modulepath setting set in a config field, that we
are able to load a provider from the path relative to OPENSSL_MODULES

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>

(cherry picked from commit 91a77cb)

(Merged from #24198)
openssl-machine pushed a commit that referenced this pull request Apr 26, 2024
If the p_test.so library isn't present, don't run the test

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>

(cherry picked from commit b80fed3)

(Merged from #24198)
openssl-machine pushed a commit that referenced this pull request Apr 26, 2024
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>

(cherry picked from commit 4e3c1e6)

(Merged from #24198)
openssl-machine pushed a commit that referenced this pull request Apr 26, 2024
coverity-1596500 caught a missing null check.  We should never hit it as
the test harness always sets the environment variable, but lets add the
check for safety

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from #24198)
openssl-machine pushed a commit that referenced this pull request Apr 26, 2024
Modules that aren't activated at conf load time don't seem to set the
module path from the template leading to load failures.  Make sure to
set that

Fixes #24020

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>

(cherry picked from commit bc95959)

(Merged from #24198)

(cherry picked from commit 71e5bb9)
openssl-machine pushed a commit that referenced this pull request Apr 26, 2024
Ensure that, with the modulepath setting set in a config field, that we
are able to load a provider from the path relative to OPENSSL_MODULES

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>

(cherry picked from commit 91a77cb)

(Merged from #24198)

(cherry picked from commit db16324)
openssl-machine pushed a commit that referenced this pull request Apr 26, 2024
If the p_test.so library isn't present, don't run the test

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>

(cherry picked from commit b80fed3)

(Merged from #24198)

(cherry picked from commit 83c6499)
openssl-machine pushed a commit that referenced this pull request Apr 26, 2024
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>

(cherry picked from commit 4e3c1e6)

(Merged from #24198)

(cherry picked from commit 163202f)
openssl-machine pushed a commit that referenced this pull request Apr 26, 2024
coverity-1596500 caught a missing null check.  We should never hit it as
the test harness always sets the environment variable, but lets add the
check for safety

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from #24198)

(cherry picked from commit a380ec9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approval: ready to merge The 24 hour grace period has passed, ready to merge branch: 3.0 Merge to openssl-3.0 branch branch: 3.1 Merge to openssl-3.1 tests: present The PR has suitable tests present triaged: bug The issue/pr is/fixes a bug
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Cannot lazy load providers specified in configuration file correctly
5 participants