You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
892 B

From 483030d85563e26a62e4baeac3b0fdca0e314199 Mon Sep 17 00:00:00 2001
From: Petr Gotthard <petr.gotthard@advantech.cz>
Date: Fri, 23 Dec 2022 10:46:40 +0100
Subject: [PATCH] tests: include base provider required to load ecparam
---
test/ec_genpkey_parameters.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/ec_genpkey_parameters.sh b/test/ec_genpkey_parameters.sh
index 406b558..a4f68d7 100755
--- a/test/ec_genpkey_parameters.sh
+++ b/test/ec_genpkey_parameters.sh
@@ -6,7 +6,7 @@ set -eufx
openssl ecparam -name prime256v1 -out testparam.pem
# generate private key as PEM
-openssl genpkey -provider tpm2 -paramfile testparam.pem -out testkey.pem
+openssl genpkey -provider tpm2 -provider base -paramfile testparam.pem -out testkey.pem
# display private key info
openssl ec -provider tpm2 -provider base -in testkey.pem -check -text -noout
--
2.39.2