-check for versions, report tests as skipped if versions missmatch

This commit is contained in:
Christian Grothoff committed 2016-02-20 12:30:43 +00:00
1 parent a624909415
commit 8d83647523
3 files changed
+26 -13

No files matched your search

+2 -2
View File
@@ -256,7 +256,7 @@ main (int argc, char *const *argv)
if (0 != curl_global_init (CURL_GLOBAL_ALL))
{
fprintf (stderr, "Error: %s\n", strerror (errno));
return -1;
return 77;
}
load_keys ("host1", ABS_SRCDIR "/host1.crt", ABS_SRCDIR "/host1.key");
load_keys ("host2", ABS_SRCDIR "/host2.crt", ABS_SRCDIR "/host2.key");
@@ -288,6 +288,6 @@ int main ()
{
fprintf (stderr,
"SNI not supported by GnuTLS < 3.0\n");
return 0;
return 77;
}
#endif