diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-02-03 09:20:05 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-02-03 09:20:05 +0100 |
commit | 6b32408724744f92226004a0f235a3fd88ffe209 (patch) | |
tree | 729e4c669e61da7053591cb12c202ee27ecc2249 | |
parent | 9e99bd1108f2769ab7c6e677fcebae63ed0595e4 (diff) | |
download | gnutls-6b32408724744f92226004a0f235a3fd88ffe209.tar.gz |
tests: pkcs11-pubkey-import-ecdsa will only work under softhsmv2gnutls_3_4_9
-rw-r--r-- | tests/suite/pkcs11-pubkey-import-ecdsa.c | 5 |
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 } |