make sure external tests have a valid cipher

pull/153/head
toddouska 2015-09-28 09:47:59 -07:00
parent cab37ef24e
commit a8b5c57dd2
1 changed files with 5 additions and 0 deletions

View File

@ -508,6 +508,11 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args)
}
#endif
#if !defined(HAVE_AESGCM) && defined(NO_AES) && \
!(defined(HAVE_CHACHA) && defined(HAVE_POLY1305))
done = 1; /* need at least on of these for external tests */
#endif
if (done) {
printf("external test can't be run in this mode");