mirror of
https://github.com/stefanberger/swtpm.git
synced 2025-08-22 19:04:35 +00:00

Older versions of libtpms need to have another patch applied that disables x509 certificate creation (0013-Disable-x509-test-cases-part2.patch). Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
26 lines
726 B
Diff
26 lines
726 B
Diff
From 5c20ae7439608644d66ead780c76aa2890f9fcd1 Mon Sep 17 00:00:00 2001
|
|
From: Stefan Berger <stefanb@linux.vnet.ibm.com>
|
|
Date: Sun, 28 Feb 2021 16:35:56 -0500
|
|
Subject: [PATCH 03/13] Set CRYPTOLIBRARY to openssl
|
|
|
|
---
|
|
utils/reg.sh | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/utils/reg.sh b/utils/reg.sh
|
|
index 24ea1df..c9d49b9 100755
|
|
--- a/utils/reg.sh
|
|
+++ b/utils/reg.sh
|
|
@@ -281,7 +281,7 @@ export WARN
|
|
export PREFIX
|
|
export -f initprimary
|
|
# hack because the mbedtls port is incomplete
|
|
-export CRYPTOLIBRARY=`${PREFIX}getcryptolibrary`
|
|
+export CRYPTOLIBRARY=openssl
|
|
|
|
# example for running scripts with encrypted sessions, see TPM_SESSION_ENCKEY=getrandom below
|
|
export TPM_SESSION_ENCKEY
|
|
--
|
|
2.39.1
|
|
|