summaryrefslogtreecommitdiff
path: root/packages/OS400/ccsidcurl.c
diff options
context:
space:
mode:
authorMartin Halle <Martin.Halle@tuhh.de>2021-04-03 06:42:01 +0200
committerJay Satiro <raysatiro@yahoo.com>2021-04-22 18:28:28 -0400
commite540b32562a0844e2241b624deb7d9e25ac46b2d (patch)
treeb5e5d17bfde9711a04c3426dc8e7b0161595879e /packages/OS400/ccsidcurl.c
parent67d3afa73f4cdb8a6c473f911c8af800121e0a49 (diff)
downloadcurl-e540b32562a0844e2241b624deb7d9e25ac46b2d.tar.gz
version: add gsasl_version to curl_version_info_data
- Add gsasl_version string and bump to CURLVERSION_TENTH. Ref: https://curl.se/mail/lib-2021-04/0003.html Closes https://github.com/curl/curl/pull/6843
Diffstat (limited to 'packages/OS400/ccsidcurl.c')
-rw-r--r--packages/OS400/ccsidcurl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/OS400/ccsidcurl.c b/packages/OS400/ccsidcurl.c
index 8b515fb8f..e006cd1bb 100644
--- a/packages/OS400/ccsidcurl.c
+++ b/packages/OS400/ccsidcurl.c
@@ -411,14 +411,15 @@ curl_version_info_ccsid(CURLversion stamp, unsigned int ccsid)
offsetof(curl_version_info_data, cainfo),
offsetof(curl_version_info_data, capath),
offsetof(curl_version_info_data, zstd_version),
- offsetof(curl_version_info_data, hyper_version)
+ offsetof(curl_version_info_data, hyper_version),
+ offsetof(curl_version_info_data, gsasl_version)
};
/* The assertion below is possible, because although the second operand
is an enum member, the first is a #define. In that case, the OS/400 C
compiler seems to compare string values after substitution. */
-#if CURLVERSION_NOW != CURLVERSION_NINTH
+#if CURLVERSION_NOW != CURLVERSION_TENTH
#error curl_version_info_data structure has changed: upgrade this procedure.
#endif