gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [libmicrohttpd] branch master updated: Fixed HTTPS tests un


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] branch master updated: Fixed HTTPS tests under Hurd
Date: Mon, 19 Jun 2017 22:57:09 +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 6364c470 Fixed HTTPS tests under Hurd
6364c470 is described below

commit 6364c4700d06232f2ea418b2146ba9e264d90086
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Mon Jun 19 23:57:01 2017 +0300

    Fixed HTTPS tests under Hurd
---
 src/testcurl/https/tls_test_common.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/testcurl/https/tls_test_common.c 
b/src/testcurl/https/tls_test_common.c
index edbc785c..50cc318b 100644
--- a/src/testcurl/https/tls_test_common.c
+++ b/src/testcurl/https/tls_test_common.c
@@ -269,7 +269,11 @@ gen_test_file_url (char *url, int port)
   char *doc_path;
   size_t doc_path_len;
   /* setup test file path, url */
+#ifdef PATH_MAX
   doc_path_len = PATH_MAX > 4096 ? 4096 : PATH_MAX;
+#else  /* ! PATH_MAX */
+  doc_path_len = 4096;
+#endif /* ! PATH_MAX */
   if (NULL == (doc_path = malloc (doc_path_len)))
     {
       fprintf (stderr, MHD_E_MEM);

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]