jose/fix-tests-failed.patch

38 lines
1.6 KiB
Diff
Raw Permalink Normal View History

2024-04-11 10:18:00 +08:00
From 2bded7f13b18039acfc5995a3da0a0882c3dae4b Mon Sep 17 00:00:00 2001
From: licihua <licihua@huawei.com>
Date: Thu, 11 Apr 2024 09:45:20 +0800
Subject: [PATCH] fix tests failed
---
tests/Makefile.in | 2 +-
tests/{cve-2023-50967 => vectors}/cve-2023-50967.jwe | 0
tests/{cve-2023-50967 => vectors}/cve-2023-50967.jwk | 0
3 files changed, 1 insertion(+), 1 deletion(-)
rename tests/{cve-2023-50967 => vectors}/cve-2023-50967.jwe (100%)
rename tests/{cve-2023-50967 => vectors}/cve-2023-50967.jwk (100%)
diff --git a/tests/Makefile.in b/tests/Makefile.in
index b7cb180..692a521 100644
--- a/tests/Makefile.in
+++ b/tests/Makefile.in
@@ -530,7 +530,7 @@ zlib_CFLAGS = @zlib_CFLAGS@
zlib_LIBS = @zlib_LIBS@
AM_CFLAGS = @JOSE_CFLAGS@ @OPENMP_CFLAGS@ @jansson_CFLAGS@ -I$(top_srcdir) -I$(top_builddir)
EXTRA_DIST = vectors
-AM_TESTS_ENVIRONMENT = PATH=$(top_builddir)/cmd:$(PATH) VECTORS=$(top_srcdir)/tests/vectors:$(top_srcdir)/tests/CVE_2023_50967
+AM_TESTS_ENVIRONMENT = PATH=$(top_builddir)/cmd:$(PATH) VECTORS=$(top_srcdir)/tests/vectors
TESTS = $(dist_check_SCRIPTS) $(check_PROGRAMS)
dist_check_SCRIPTS = \
jose-alg \
diff --git a/tests/cve-2023-50967/cve-2023-50967.jwe b/tests/vectors/cve-2023-50967.jwe
similarity index 100%
rename from tests/cve-2023-50967/cve-2023-50967.jwe
rename to tests/vectors/cve-2023-50967.jwe
diff --git a/tests/cve-2023-50967/cve-2023-50967.jwk b/tests/vectors/cve-2023-50967.jwk
similarity index 100%
rename from tests/cve-2023-50967/cve-2023-50967.jwk
rename to tests/vectors/cve-2023-50967.jwk
--
2.27.0