diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2013-11-25 16:00:51 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2013-11-27 11:41:45 +0100 |
commit | 397b56aeeb89b55be06412174837086e456d7af4 (patch) | |
tree | ed513ebb81c9b29e63dc7e11a7c51bf82f19a907 /tests/pkcs12_simple.c | |
parent | f02ac61116baca371d36856d4badea10acc45fa3 (diff) | |
download | gnutls-397b56aeeb89b55be06412174837086e456d7af4.tar.gz |
Skip tests that require the non-suiteb curves.
Diffstat (limited to 'tests/pkcs12_simple.c')
-rw-r--r-- | tests/pkcs12_simple.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/pkcs12_simple.c b/tests/pkcs12_simple.c index bbfe97d181..f182860aaa 100644 --- a/tests/pkcs12_simple.c +++ b/tests/pkcs12_simple.c @@ -38,13 +38,14 @@ static void tls_log_func(int level, const char *str) void doit(void) { +#ifdef ENABLE_NON_SUITEB_CURVES const char *filename, *password = "1234"; gnutls_pkcs12_t pkcs12; unsigned char *file_data; size_t file_size; gnutls_datum_t data; gnutls_x509_crt_t *chain, *extras; - unsigned int chain_size, extras_size, i; + unsigned int chain_size = 0, extras_size = 0, i; gnutls_x509_privkey_t pkey; int ret; @@ -148,4 +149,7 @@ void doit(void) free(file_data); gnutls_global_deinit(); +#else + exit(77); +#endif } |