diff options
Diffstat (limited to 'src/testcurl/https/test_https_sni.c')
-rw-r--r-- | src/testcurl/https/test_https_sni.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testcurl/https/test_https_sni.c b/src/testcurl/https/test_https_sni.c index 50be1499..ce7b9f6b 100644 --- a/src/testcurl/https/test_https_sni.c +++ b/src/testcurl/https/test_https_sni.c @@ -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 |