aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAKASHI Takahiro2020-04-21 09:38:17 +0900
committerHeinrich Schuchardt2020-05-04 12:26:11 +0200
commite3f5c9cb0fcc95aa9287b5f8609294fe1a59b9da (patch)
tree55a3eda717dff309fa9f793f181c07a9827d940c /test
parent7b8b63fb8ead9bd4041ab5424deb465f14ee172a (diff)
lib/crypto, efi_loader: move some headers to include/crypto
Pkcs7_parse.h and x509_parser.h are used in UEFI subsystem, in particular, secure boot. So move them to include/crypto to avoid relative paths. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Don't include include x509_parser.h twice. Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'test')
-rw-r--r--test/lib/asn1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/asn1.c b/test/lib/asn1.c
index d2b3f67e68d..8661fdd3068 100644
--- a/test/lib/asn1.c
+++ b/test/lib/asn1.c
@@ -13,10 +13,10 @@
#include <test/ut.h>
#ifdef CONFIG_PKCS7_MESSAGE_PARSER
-#include "../../lib/crypto/pkcs7_parser.h"
+#include <crypto/pkcs7_parser.h>
#else
#ifdef CONFIG_X509_CERTIFICATE_PARSER
-#include "../../lib/crypto/x509_parser.h"
+#include <crypto/x509_parser.h>
#endif
#endif