diff options
-rw-r--r-- | tests/suite/pkcs11-combo.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/suite/pkcs11-combo.c b/tests/suite/pkcs11-combo.c index dc92911948..14990087b7 100644 --- a/tests/suite/pkcs11-combo.c +++ b/tests/suite/pkcs11-combo.c @@ -41,7 +41,8 @@ #include "../test-chains.h" #define URL "pkcs11:model=SoftHSM;manufacturer=SoftHSM;serial=1;token=test" -#define CONFIG "softhsm-issuer2.config" +#define NAME "softhsm-combo" +#define CONFIG NAME".config" /* These CAs have the same DN */ static const char *ca_list[MAX_CHAIN] = { @@ -309,8 +310,8 @@ void doit(void) fprintf(stderr, "error writing %s\n", CONFIG); exit(1); } - remove("./softhsm-issuer2.db"); - fputs("0:./softhsm-issuer2.db\n", fp); + remove("./"NAME".db"); + fputs("0:./"NAME".db\n", fp); fclose(fp); setenv("SOFTHSM_CONF", CONFIG, 0); |