From: Nikos Mavrogiannopoulos Date: Wed, 15 Jun 2016 07:21:10 +0000 (+0200) Subject: tests: disable SRP-base64 encode/decoded tests when SRP is disabled X-Git-Tag: gnutls_3_5_2~51 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=032efb86102703eb0db3c9fa930622f28d2432b1;p=thirdparty%2Fgnutls.git tests: disable SRP-base64 encode/decoded tests when SRP is disabled --- diff --git a/tests/srpbase64.c b/tests/srpbase64.c index 80c1752cc2..cb26e8baf4 100644 --- a/tests/srpbase64.c +++ b/tests/srpbase64.c @@ -34,6 +34,8 @@ #include "utils.h" +#ifdef ENABLE_SRP + static void encode(const char *test_name, const gnutls_datum_t *raw, const char *expected) { int ret; @@ -175,3 +177,10 @@ void doit(void) } } +#else + +void doit(void) +{ + exit(77); +} +#endif