]> git.ipfire.org Git - thirdparty/openssl.git/commit
Add defaults api to openssl build
authorNeil Horman <nhorman@openssl.org>
Thu, 6 Jun 2024 18:37:37 +0000 (14:37 -0400)
committerNeil Horman <nhorman@openssl.org>
Tue, 9 Jul 2024 08:01:30 +0000 (04:01 -0400)
commitdd2b22d88c9c974f4ca6bce2550f89ac7fb76839
tree9213e8dc0ead156dd62364b8782bce3377ccaaf3
parentc215d75f94fcaa598817e739221f33b71b53fb39
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

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24450)
NOTES-WINDOWS.md
crypto/build.info
crypto/defaults.c [new file with mode: 0644]
include/internal/common.h