projects
/
BearSSL
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New simplified initialisation function for X.509 minimal engine.
[BearSSL]
/
test
/
test_x509.c
diff --git
a/test/test_x509.c
b/test/test_x509.c
index
b81ff1d
..
344f8d9
100644
(file)
--- a/
test/test_x509.c
+++ b/
test/test_x509.c
@@
-29,8
+29,14
@@
#include "bearssl.h"
#include "bearssl.h"
+#define STR(x) STR_(x)
+#define STR_(x) #x
+#ifdef SRCDIRNAME
+#define DIRNAME STR(SRCDIRNAME) "/test/x509"
+#else
#define DIRNAME "test/x509"
#define DIRNAME "test/x509"
-#define CONFFILE (DIRNAME "/alltests.txt")
+#endif
+#define CONFFILE DIRNAME "/alltests.txt"
#define DEFAULT_TIME "2016-08-30T18:00:00Z"
static void *
#define DEFAULT_TIME "2016-08-30T18:00:00Z"
static void *