Add a cert relative prefix option for tests

pull/8443/head
Colton Willey 2025-02-12 13:59:23 -08:00
parent 828d79b64b
commit ddf7bfcb8f
1 changed files with 9 additions and 0 deletions

View File

@ -20,6 +20,15 @@
*/
#ifndef NO_FILESYSTEM
#ifdef CERT_REL_PREFIX
#define CERT_PREFIX CERT_REL_PREFIX
#ifndef NO_WRITE_TEMP_FILES
#ifndef CERT_WRITE_TEMP_DIR
#define CERT_WRITE_TEMP_DIR "./"
#endif
#endif
#else
#define CERT_PREFIX "@abs_top_srcdir@/"
#define CERT_WRITE_TEMP_DIR "@abs_top_builddir@/"
#endif /* CERT_REL_PREFIX */
#endif /* NO_FILESYSTEM */