[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] branch master updated: Fixed possible null
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] branch master updated: Fixed possible null dereference in HTTPS test |
Date: |
Tue, 16 May 2017 22:36:52 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new c7e815a8 Fixed possible null dereference in HTTPS test
c7e815a8 is described below
commit c7e815a80632e15798123ca66026ae945b7ca05f
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Tue May 16 23:36:29 2017 +0300
Fixed possible null dereference in HTTPS test
---
src/testcurl/https/test_https_get_parallel_threads.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/testcurl/https/test_https_get_parallel_threads.c
b/src/testcurl/https/test_https_get_parallel_threads.c
index 239559ac..03f31270 100644
--- a/src/testcurl/https/test_https_get_parallel_threads.c
+++ b/src/testcurl/https/test_https_get_parallel_threads.c
@@ -150,15 +150,15 @@ main (int argc, char *const *argv)
return 99;
}
ssl_version = curl_version_info (CURLVERSION_NOW)->ssl_version;
- if (0 != strncmp (ssl_version, "GnuTLS", 6))
+ if (NULL == ssl_version)
{
- fprintf (stderr, "This test can be run only with libcurl-gnutls.\n");
+ fprintf (stderr, "Curl does not support SSL. Cannot run the test.\n");
curl_global_cleanup ();
return 77;
}
- if (NULL == ssl_version)
+ if (0 != strncmp (ssl_version, "GnuTLS", 6))
{
- fprintf (stderr, "Curl does not support SSL. Cannot run the test.\n");
+ fprintf (stderr, "This test can be run only with libcurl-gnutls.\n");
curl_global_cleanup ();
return 77;
}
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [libmicrohttpd] branch master updated: Fixed possible null dereference in HTTPS test,
gnunet <=