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

uSockets with WolfSSL #147

Closed
Tobita0815 opened this issue May 22, 2021 · 2 comments
Closed

uSockets with WolfSSL #147

Tobita0815 opened this issue May 22, 2021 · 2 comments

Comments

@Tobita0815
Copy link

Hello,

when I want to compile uSockets with WolfSSL(both the latest version today) as lib, I get the following error:

\crypto\wolfssl.c(600,34): error C2040: "us_internal_ssl_socket_close": "us_internal_ssl_socket_t *(us_internal_ssl_socket_t *)" unterscheidet sich von "int ()" in Bezug auf die Anzahl vorgenommener Dereferenzierungen

\crypto\wolfssl.c(602,58): error C2198: "us_socket_close": Nicht genügend Argumente für Aufruf.

Attention, the code file has been formatted and the line number will therefore be different from the original!

What's going wrong there?

@Tobita0815
Copy link
Author

struct us_internal_ssl_socket_t* us_internal_ssl_socket_close(struct us_internal_ssl_socket_t* s)
{
return (struct us_internal_ssl_socket_t*)us_socket_close(0, (struct us_socket_t*)s);
}

Here is the error

@ghost
Copy link

ghost commented Jan 18, 2022

#111

@ghost ghost closed this as completed Jan 18, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant