[openssl/openssl] b6456a: set module path from template

Neil Horman noreply at github.com
Fri Apr 26 12:07:41 UTC 2024


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: b6456af5c043397998997a4f91348fb0aeca2625
      https://github.com/openssl/openssl/commit/b6456af5c043397998997a4f91348fb0aeca2625
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2024-04-26 (Fri, 26 Apr 2024)

  Changed paths:
    M crypto/provider_core.c

  Log Message:
  -----------
  set module path from template

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 at openssl.org>
Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>

(cherry picked from commit bc9595963a45e28e6a8b2de45a6719c252bd3a3d)

(Merged from https://github.com/openssl/openssl/pull/24198)

(cherry picked from commit 71e5bb982f9c9563567ea8ae9f6e29492e9146ca)


  Commit: 74f551e90c3415bd391add232a93d433fb052b55
      https://github.com/openssl/openssl/commit/74f551e90c3415bd391add232a93d433fb052b55
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2024-04-26 (Fri, 26 Apr 2024)

  Changed paths:
    M test/build.info
    A test/pathed.cnf
    M test/prov_config_test.c
    M test/recipes/30-test_prov_config.t

  Log Message:
  -----------
  Add test for OSSL_PROVIDER_load with module path set

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 at openssl.org>
Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>

(cherry picked from commit 91a77cbf66c575345cf1eab31717e8edafcd1633)

(Merged from https://github.com/openssl/openssl/pull/24198)

(cherry picked from commit db163245097bc813235403c234795721d4e5c4eb)


  Commit: f663322bd61312a07d678fe3b22e517180653a37
      https://github.com/openssl/openssl/commit/f663322bd61312a07d678fe3b22e517180653a37
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2024-04-26 (Fri, 26 Apr 2024)

  Changed paths:
    M test/prov_config_test.c

  Log Message:
  -----------
  Update modulepath test for provider config to skip if not present

If the p_test.so library isn't present, don't run the test

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

(cherry picked from commit b80fed3f27ebe156b17246f7c12c5178cbe6834e)

(Merged from https://github.com/openssl/openssl/pull/24198)

(cherry picked from commit 83c649996c18e5185f9439172d5908ad7fef9146)


  Commit: 25e1d8dcdedaa0e99218b4dd24f82a11f2a470eb
      https://github.com/openssl/openssl/commit/25e1d8dcdedaa0e99218b4dd24f82a11f2a470eb
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2024-04-26 (Fri, 26 Apr 2024)

  Changed paths:
    M crypto/provider_core.c
    M test/prov_config_test.c

  Log Message:
  -----------
  Fix up path generation to use OPENSSL_MODULES

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

(cherry picked from commit 4e3c1e6206251c59855362d6d2edab4621c31dec)

(Merged from https://github.com/openssl/openssl/pull/24198)

(cherry picked from commit 163202f0b95cfc7e666e45cafc55a505f51f6153)


  Commit: 491ff1b13bdabad24384cc0c19c6dd7532693613
      https://github.com/openssl/openssl/commit/491ff1b13bdabad24384cc0c19c6dd7532693613
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2024-04-26 (Fri, 26 Apr 2024)

  Changed paths:
    M test/prov_config_test.c

  Log Message:
  -----------
  Fix missing NULL check in prov_config_test

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 at openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24198)

(cherry picked from commit a380ec952f138f644d227637eeba90fd1e17f72f)


Compare: https://github.com/openssl/openssl/compare/f0115d45072a...491ff1b13bda

To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications


More information about the openssl-commits mailing list