Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curl build error on OS400 with GSKit #10799

Closed
jonrumsey opened this issue Mar 20, 2023 · 0 comments
Closed

curl build error on OS400 with GSKit #10799

jonrumsey opened this issue Mar 20, 2023 · 0 comments
Labels

Comments

@jonrumsey
Copy link
Contributor

I did this

Compile cURL for OS400 with GSKit enabled
CZM1003: vtls/gskit.c, 536.43: CZM0045(30) Undeclared identifier data.
CZM1003: vtls/gskit.c, 720.48: CZM0022(30) "key_passwd" is not a member of "struct ssl_primary_config".
CZM1003: vtls/gskit.c, 936.13: CZM0280(30) Function argument assignment between types "struct Curl_cfilter*" and "struct ssl_connect_data*" is not allowed.
CZM1003: vtls/gskit.c, 936.28: CZM0099(30) Unexpected argument.
CZM1003: vtls/gskit.c, 1142.15: CZM0280(30) Function argument assignment between types "struct Curl_cfilter*" and "struct ssl_connect_data*" is not allowed.
CZM1003: vtls/gskit.c, 1142.30: CZM0099(30) Unexpected argument.
CZM1003: vtls/gskit.c, 1275.17: CZM0045(30) Undeclared identifier cxn.

I expected the following

Clean build

curl/libcurl version

7.88.1, 8.0.0 and 8.0.1
[curl -V output]

operating system

OS/400 V7R4M0

@bagder bagder added the build label Mar 20, 2023
@bagder bagder closed this as completed in 8a83bda Mar 22, 2023
bch pushed a commit to bch/curl that referenced this issue Jul 19, 2023
Various compile failures in gskit.c;

- pipe_ssloverssl() needs Curl_easy data parameter for
  Curl_conn_cf_get_socket(cf, data)
- key_passwd is in ssl_config, not conn_config
- close_on() has 2 parameters, not 4
- getsockopt() needs to call Curl_conn_cf_get_socket(), not
  cxn->sock[FIRSTSOCKET]

Fixes curl#10799
Closes curl#10800
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants