check for RSA and ECC before testing RSA signed ECC cert

pull/323/head
Jacob Barthelmeh 2016-02-23 17:03:52 -07:00
parent 8dbef9b14b
commit dcfec3d2fa
1 changed files with 5 additions and 3 deletions

View File

@ -499,6 +499,7 @@ int SuiteTest(void)
}
#endif
#ifndef WC_STRICT_SIG
#if !defined(NO_RSA) && defined(HAVE_ECC) /* testing mixed ECC/RSA cert */
/* add extra signature test suites */
strcpy(argv0[1], "tests/test-sig.conf");
printf("starting sig extra cipher suite tests\n");
@ -507,7 +508,8 @@ int SuiteTest(void)
printf("error from script %d\n", args.return_code);
exit(EXIT_FAILURE);
}
#endif
#endif /* HAVE_RSA and HAVE_ECC */
#endif /* !WC_STRICT_SIG */
#ifdef HAVE_QSH
/* add QSH extra suites */
strcpy(argv0[1], "tests/test-qsh.conf");