summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/suite/pkcs11-pubkey-import-ecdsa.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/suite/pkcs11-pubkey-import-ecdsa.c b/tests/suite/pkcs11-pubkey-import-ecdsa.c
index fb4f8ad5c8..38465c7885 100644
--- a/tests/suite/pkcs11-pubkey-import-ecdsa.c
+++ b/tests/suite/pkcs11-pubkey-import-ecdsa.c
@@ -29,6 +29,7 @@
#include <string.h>
#include <assert.h>
#include <unistd.h>
+#include "softhsm.h"
#define CONFIG_NAME "softhsm-pubkey-import-ecdsa"
#define CONFIG CONFIG_NAME".config"
@@ -37,6 +38,10 @@
void doit(void)
{
+#ifdef SOFTHSM_V1
+ exit(77);
+#else
success("Testing ECDSA key\n");
return try(0);
+#endif
}