summaryrefslogtreecommitdiff
path: root/packages
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
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')
-rw-r--r--packages/OS400/ccsidcurl.c5
-rw-r--r--packages/OS400/curl.inc.in6
2 files changed, 8 insertions, 3 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
diff --git a/packages/OS400/curl.inc.in b/packages/OS400/curl.inc.in
index 979820650..73aaaccb1 100644
--- a/packages/OS400/curl.inc.in
+++ b/packages/OS400/curl.inc.in
@@ -1960,8 +1960,10 @@
d c 7
d CURLVERSION_NINTH...
d c 8
+ d CURLVERSION_TENTH...
+ d c 9
d CURLVERSION_NOW...
- d c 8 CURLVERSION_NINTH
+ d c 9 CURLVERSION_TENTH
*
d curlsocktype s 10i 0 based(######ptr######) Enum
d CURLSOCKTYPE_IPCXN...
@@ -2260,6 +2262,8 @@
d * const char *
d hyper_version...
d * const char *
+ d gsasl_version...
+ d * const char *
*
d curl_certinfo ds based(######ptr######)
d qualified