gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 03/03: test_digestauth_sha256: do not test without sha25


From: gnunet
Subject: [libmicrohttpd] 03/03: test_digestauth_sha256: do not test without sha256 support on libcurl
Date: Wed, 23 Sep 2020 10:25:51 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 7059c019a242e4f48eb12360608c36825b242fd5
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed Sep 23 10:58:09 2020 +0300

    test_digestauth_sha256: do not test without sha256 support on libcurl
---
 src/testcurl/test_digestauth_sha256.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/testcurl/test_digestauth_sha256.c 
b/src/testcurl/test_digestauth_sha256.c
index d3cc81ca..3bf3ce85 100644
--- a/src/testcurl/test_digestauth_sha256.c
+++ b/src/testcurl/test_digestauth_sha256.c
@@ -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]