From 8d9346f1a0d880c3d904f6e072675d6953870f3e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 11 Feb 2021 08:53:33 +0100 Subject: gsasl: provide CURL_VERSION_GSASL if built-in To let applications know the feature is available. Closes #6592 --- docs/libcurl/curl_version_info.3 | 5 ++++- docs/libcurl/symbols-in-versions | 1 + include/curl/curl.h | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/libcurl/curl_version_info.3 b/docs/libcurl/curl_version_info.3 index 93011424a..8c93a8c7d 100644 --- a/docs/libcurl/curl_version_info.3 +++ b/docs/libcurl/curl_version_info.3 @@ -5,7 +5,7 @@ .\" * | (__| |_| | _ <| |___ .\" * \___|\___/|_| \_\_____| .\" * -.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, , et al. +.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, , et al. .\" * .\" * This software is licensed as described in the file COPYING, which .\" * you should have received as part of this distribution. The terms @@ -136,6 +136,9 @@ libcurl was built with memory tracking debug capabilities. This is mainly of interest for libcurl hackers. (added in 7.19.6) .IP CURL_VERSION_DEBUG libcurl was built with debug capabilities (added in 7.10.6) +.IP CURL_VERSION_GSASL +libcurl was built with libgsasl and thus with some extra SCRAM-SHA +authentication methods. (added in 7.76.0) .IP CURL_VERSION_GSSAPI libcurl was built with support for GSS-API. This makes libcurl use provided functions for Kerberos and SPNEGO authentication. It also allows libcurl diff --git a/docs/libcurl/symbols-in-versions b/docs/libcurl/symbols-in-versions index 66c36c4ce..a22fc0fa5 100644 --- a/docs/libcurl/symbols-in-versions +++ b/docs/libcurl/symbols-in-versions @@ -1015,6 +1015,7 @@ CURL_VERSION_BROTLI 7.57.0 CURL_VERSION_CONV 7.15.4 CURL_VERSION_CURLDEBUG 7.19.6 CURL_VERSION_DEBUG 7.10.6 +CURL_VERSION_GSASL 7.76.0 CURL_VERSION_GSSAPI 7.38.0 CURL_VERSION_GSSNEGOTIATE 7.10.6 7.38.0 CURL_VERSION_HSTS 7.74.0 diff --git a/include/curl/curl.h b/include/curl/curl.h index 46503178d..c71a2358d 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -2954,6 +2954,7 @@ typedef struct curl_version_info_data curl_version_info_data; #define CURL_VERSION_ZSTD (1<<26) /* zstd features are present */ #define CURL_VERSION_UNICODE (1<<27) /* Unicode support on Windows */ #define CURL_VERSION_HSTS (1<<28) /* HSTS is supported */ +#define CURL_VERSION_GSASL (1<<29) /* libgsasl is supported */ /* * NAME curl_version_info() -- cgit v1.2.1