gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] branch master updated (c6e5b324 -> 7059c019)


From: gnunet
Subject: [libmicrohttpd] branch master updated (c6e5b324 -> 7059c019)
Date: Wed, 23 Sep 2020 10:25:48 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a change to branch master
in repository libmicrohttpd.

    from c6e5b324 test_upgrade_large: apply formatting
     new 2041dde0 test_upgrade_large: fixed portability
     new 4f6348b9 test_digestauth_sha256: update formatting
     new 7059c019 test_digestauth_sha256: do not test without sha256 support on 
libcurl

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/microhttpd/test_upgrade_large.c   | 2 +-
 src/testcurl/test_digestauth_sha256.c | 7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/microhttpd/test_upgrade_large.c 
b/src/microhttpd/test_upgrade_large.c
index 60246706..8b721bc5 100644
--- a/src/microhttpd/test_upgrade_large.c
+++ b/src/microhttpd/test_upgrade_large.c
@@ -647,7 +647,7 @@ recv_hdr (struct wr_socket *sock)
         continue;
       fprintf (stderr,
                "recv failed unexpectedly: %s\n",
-               strerror (errno));
+               MHD_socket_last_strerr_ ());
       abort ();
     }
     if (0 == ret)
diff --git a/src/testcurl/test_digestauth_sha256.c 
b/src/testcurl/test_digestauth_sha256.c
index ffeabd0c..3bf3ce85 100644
--- a/src/testcurl/test_digestauth_sha256.c
+++ b/src/testcurl/test_digestauth_sha256.c
@@ -92,7 +92,7 @@ ahc_echo (void *cls,
   const char *password = "testpass";
   const char *realm = "test@example.com";
   enum MHD_Result ret;
-  (void) cls; (void) url;                          /* Unused. Silent compiler 
warning. */
+  (void) cls; (void) url;                         /* Unused. Silent compiler 
warning. */
   (void) method; (void) version; (void) upload_data; /* Unused. Silent 
compiler warning. */
   (void) upload_data_size; (void) unused;         /* Unused. Silent compiler 
warning. */
 
@@ -296,6 +296,11 @@ main (int argc, char *const *argv)
   curl_version_info_data *d = curl_version_info (CURLVERSION_NOW);
   (void) argc; (void) argv; /* Unused. Silent compiler warning. */
 
+#ifdef CURL_VERSION_SSPI
+  if (0 != (d->features | CURL_VERSION_SSPI))
+    return 77; /* Skip test, W32 SSPI doesn't support sha256 digest */
+#endif /* CURL_VERSION_SSPI */
+
   /* curl added SHA256 support in 7.57 = 7.0x39 */
   if (d->version_num < 0x073900)
     return 77; /* skip test, curl is too old */

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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