[openssl/openssl] 71e5bb: set module path from template

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


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: 71e5bb982f9c9563567ea8ae9f6e29492e9146ca
      https://github.com/openssl/openssl/commit/71e5bb982f9c9563567ea8ae9f6e29492e9146ca
  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)


  Commit: db163245097bc813235403c234795721d4e5c4eb
      https://github.com/openssl/openssl/commit/db163245097bc813235403c234795721d4e5c4eb
  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)


  Commit: 83c649996c18e5185f9439172d5908ad7fef9146
      https://github.com/openssl/openssl/commit/83c649996c18e5185f9439172d5908ad7fef9146
  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)


  Commit: 163202f0b95cfc7e666e45cafc55a505f51f6153
      https://github.com/openssl/openssl/commit/163202f0b95cfc7e666e45cafc55a505f51f6153
  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)


  Commit: a380ec952f138f644d227637eeba90fd1e17f72f
      https://github.com/openssl/openssl/commit/a380ec952f138f644d227637eeba90fd1e17f72f
  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)


Compare: https://github.com/openssl/openssl/compare/17f448ede695...a380ec952f13

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