summaryrefslogtreecommitdiff
path: root/engines/build.info
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-12-10 14:00:05 +0100
committerRichard Levitte <levitte@openssl.org>2020-12-17 12:02:08 +0100
commite77c13f8b73ff937819d6551ddd616fe01b989d0 (patch)
tree432c7d3674821c90d3186faf1a5b95d550f0ff7a /engines/build.info
parent054cde175664f3e7c8fe5f753c0a5cb5be75dccc (diff)
downloadopenssl-new-e77c13f8b73ff937819d6551ddd616fe01b989d0.tar.gz
MSBLOB & PVK: Make it possible to write EVP_PKEYs with provided internal key
So far, the MSBLOB and PVK writers could only handle EVP_PKEYs with legacy internal keys. Specially to be able to compile the loader_attic engine, we use the C macro OPENSSL_NO_PROVIDER_CODE to avoid building the provider specific things when we don't need them. The alternative is to suck half of crypto/evp/ into loader_attic, and that's just not feasible. Fixes #13503 Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/13661)
Diffstat (limited to 'engines/build.info')
-rw-r--r--engines/build.info1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/build.info b/engines/build.info
index e47f2d44a5..e275035946 100644
--- a/engines/build.info
+++ b/engines/build.info
@@ -88,6 +88,7 @@ IF[{- !$disabled{"engine"} -}]
ENDIF
SOURCE[loader_attic]=e_loader_attic.c ../crypto/pem/pvkfmt.c
+ DEFINE[loader_attic]=OPENSSL_NO_PROVIDER_CODE
DEPEND[loader_attic]=../libcrypto
INCLUDE[loader_attic]=../include
IF[{- defined $target{shared_defflag} -}]