New simplified initialisation function for X.509 minimal engine.

This commit is contained in:
Thomas Pornin 2016-12-29 23:11:46 +01:00
parent 05ac106834
commit f9b85fee90
4 changed files with 84 additions and 2 deletions

View file

@ -29,8 +29,14 @@
#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 CONFFILE (DIRNAME "/alltests.txt")
#endif
#define CONFFILE DIRNAME "/alltests.txt"
#define DEFAULT_TIME "2016-08-30T18:00:00Z"
static void *