aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_digestauth_sha256.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/test_digestauth_sha256.c')
-rw-r--r--src/testcurl/test_digestauth_sha256.c5
1 files changed, 5 insertions, 0 deletions
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)
296 curl_version_info_data *d = curl_version_info (CURLVERSION_NOW); 296 curl_version_info_data *d = curl_version_info (CURLVERSION_NOW);
297 (void) argc; (void) argv; /* Unused. Silent compiler warning. */ 297 (void) argc; (void) argv; /* Unused. Silent compiler warning. */
298 298
299#ifdef CURL_VERSION_SSPI
300 if (0 != (d->features | CURL_VERSION_SSPI))
301 return 77; /* Skip test, W32 SSPI doesn't support sha256 digest */
302#endif /* CURL_VERSION_SSPI */
303
299 /* curl added SHA256 support in 7.57 = 7.0x39 */ 304 /* curl added SHA256 support in 7.57 = 7.0x39 */
300 if (d->version_num < 0x073900) 305 if (d->version_num < 0x073900)
301 return 77; /* skip test, curl is too old */ 306 return 77; /* skip test, curl is too old */