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

esp32 Arduino v3.0.4 changed NetworkClientSecur::setCACertBundle arguments #896

Closed
totalretribution opened this issue Aug 3, 2024 · 4 comments

Comments

@totalretribution
Copy link

Hi,
The latest version of arduino esp32 v3.0.4 has changed the function void setCACertBundle(const uint8_t *bundle); to void setCACertBundle(const uint8_t *bundle, size_t size);.

This breaks Websockets with the following error
/WebSocketsClient.cpp:250:45: error: no matching function for call to 'NetworkClientSecure::setCACertBundle(const uint8_t*&)'

Thanks

@Coyotexi
Copy link

Coyotexi commented Aug 4, 2024

the same problem is also present in websocketserver

@Links2004 Links2004 changed the title esp32 Arduino v3.0.4 changed NetworkClientSecur::etCACertBundle arguments esp32 Arduino v3.0.4 changed NetworkClientSecur::setCACertBundle arguments Aug 4, 2024
@Links2004
Copy link
Owner

Links2004 commented Aug 4, 2024

setCACertBundle is not used in the websocketserver code.
and the build test [email protected]: https://github.com/Links2004/arduinoWebSockets/actions/runs/10234531631/job/28314167005

are you at the master branch?
the setCACertBundle change is not released yet.

@Coyotexi
Copy link

Coyotexi commented Aug 4, 2024

in Arduino IDE 2.3.2 only 2.5.1 is available. I manually installed 2.5.2, now eps32 3.04 also works

@Links2004
Copy link
Owner

2.5.2 has been released and will be picked up by the IDE soon too.
https://github.com/Links2004/arduinoWebSockets/releases/tag/2.5.2

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

3 participants