[PATCH 5/6] test: self: jwt: regenerate jwt_test.pem.c_shipped

Ahmad Fatoum a.fatoum at pengutronix.de
Wed Oct 9 07:01:54 PDT 2024


As not to require OpenSSL for normal selftest builds, a pregenerated C
file for the JWT PEM is being shipped in the source code.

This got outdated with recent changes, so let's regenerate it.

Fixes: 54caa724c737 ("crypto: add public_key functions")
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 test/self/jwt_test.pem.c_shipped | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/self/jwt_test.pem.c_shipped b/test/self/jwt_test.pem.c_shipped
index 16248f0ddb1e..5d4df1107cf5 100644
--- a/test/self/jwt_test.pem.c_shipped
+++ b/test/self/jwt_test.pem.c_shipped
@@ -1,3 +1,4 @@
+#include <crypto/ecdsa.h>
 #include <crypto/rsa.h>
 
 static uint32_t jwt_test_modulus[] = {
@@ -45,5 +46,4 @@ struct rsa_public_key __key_jwt_test = {
 	.modulus = jwt_test_modulus,
 	.rr = jwt_test_rr,
 	.exponent = 0x10001,
-	.key_name_hint = "jwt_test",
 };
-- 
2.39.5




More information about the barebox mailing list