[openssl/openssl] f596a4: Add defaults api to openssl build

Neil Horman noreply at github.com
Thu Jun 6 19:10:30 UTC 2024


  Branch: refs/heads/read-openssldir-from-registry
  Home:   https://github.com/openssl/openssl
  Commit: f596a4f26a53e4bc78cca55c12e0ea0f48d80a63
      https://github.com/openssl/openssl/commit/f596a4f26a53e4bc78cca55c12e0ea0f48d80a63
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2024-06-06 (Thu, 06 Jun 2024)

  Changed paths:
    M NOTES-WINDOWS.md
    M crypto/build.info
    A crypto/defaults.c
    M include/internal/common.h

  Log Message:
  -----------
  Add defaults api to openssl build

Build time defaults aren't great for windows, in which various macros
(like OPENSSLDIR) are selected at build time, but may be selected
differently at install time.  Add an internal defaults api to return the
build time constants on unix systems, but instead query registry keys
for the form:
HLKM\SOFTWARE\OpenSSL-{version}-{wininstallcontext}
Such that each built version of openssl may maintain its own set of
registry keys to identify these locations, and be set administratiely as
appropriate at install or run time


  Commit: 3c94c62939233887f10dfd0225031264900ab5e4
      https://github.com/openssl/openssl/commit/3c94c62939233887f10dfd0225031264900ab5e4
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2024-06-06 (Thu, 06 Jun 2024)

  Changed paths:
    M apps/version.c
    M crypto/cversion.c
    M crypto/engine/eng_list.c
    M crypto/info.c
    M crypto/provider_core.c
    M crypto/x509/x509_def.c
    M doc/man1/openssl-version.pod.in
    M include/openssl/crypto.h.in

  Log Message:
  -----------
  convert users of build time defaults to use new defaults api

Now that we can query for install time registry keys on windows, convert
users of these macros to use the api instead

Add a unit test to validate the functionality of our reg key lookups

Add a test to check to make sure our registry key lookups work.  note
this test only runs on windows (clearly), but also only if the registry
keys are set via an installer or some other manual process (to be done
in the CI workflow)


  Commit: e90858f6a80365970a3532a81a953726f97546f5
      https://github.com/openssl/openssl/commit/e90858f6a80365970a3532a81a953726f97546f5
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2024-06-06 (Thu, 06 Jun 2024)

  Changed paths:
    M .github/workflows/windows.yml
    A test/recipes/02-test_windows_registry.t

  Log Message:
  -----------
  Add a unit test to validate the functionality of our reg key lookups

Add a test to check to make sure our registry key lookups work.  note
this test only runs on windows (clearly), but also only if the registry
keys are set via an installer or some other manual process (to be done
in the CI workflow)

Also add workflow steps to set registry keys for testing


  Commit: 2829256e19690c4e1cbd222eb3661fd95273012b
      https://github.com/openssl/openssl/commit/2829256e19690c4e1cbd222eb3661fd95273012b
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2024-06-06 (Thu, 06 Jun 2024)

  Changed paths:
    M .github/workflows/windows.yml

  Log Message:
  -----------
  Workflow debug


Compare: https://github.com/openssl/openssl/compare/f596a4f26a53%5E...2829256e1969

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