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) | |||
256 | if (0 != curl_global_init (CURL_GLOBAL_ALL)) | 256 | if (0 != curl_global_init (CURL_GLOBAL_ALL)) |
257 | { | 257 | { |
258 | fprintf (stderr, "Error: %s\n", strerror (errno)); | 258 | fprintf (stderr, "Error: %s\n", strerror (errno)); |
259 | return -1; | 259 | return 77; |
260 | } | 260 | } |
261 | load_keys ("host1", ABS_SRCDIR "/host1.crt", ABS_SRCDIR "/host1.key"); | 261 | load_keys ("host1", ABS_SRCDIR "/host1.crt", ABS_SRCDIR "/host1.key"); |
262 | load_keys ("host2", ABS_SRCDIR "/host2.crt", ABS_SRCDIR "/host2.key"); | 262 | load_keys ("host2", ABS_SRCDIR "/host2.crt", ABS_SRCDIR "/host2.key"); |
@@ -288,6 +288,6 @@ int main () | |||
288 | { | 288 | { |
289 | fprintf (stderr, | 289 | fprintf (stderr, |
290 | "SNI not supported by GnuTLS < 3.0\n"); | 290 | "SNI not supported by GnuTLS < 3.0\n"); |
291 | return 0; | 291 | return 77; |
292 | } | 292 | } |
293 | #endif | 293 | #endif |