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

Error: invalid handshake #57

Open
jtmoderate876 opened this issue Mar 5, 2018 · 1 comment
Open

Error: invalid handshake #57

jtmoderate876 opened this issue Mar 5, 2018 · 1 comment

Comments

@jtmoderate876
Copy link

jtmoderate876 commented Mar 5, 2018

I too am getting the Error: invalid handshake

Similar to:
esp8266/Arduino#3661

experienced by @sukretniy

but I don't (yet) have the skills/experience/setup to try and recompile from:
uint8_t *buf = &ssl->bm_data[ssl->dc->bm_proc_index];

To:
uint8_t *buf = &ssl->bm_data[ssl->dc->bm_proc_index > 0 ? ssl->dc->bm_proc_index + 6 : ssl->dc->bm_proc_index];

Any chance someone more talented than I can fix this?

@jtmoderate876
Copy link
Author

jtmoderate876 commented Apr 7, 2018

Thankfully, @sukretniy took a version of his fix, (I think) changing axtls:
uint8_t *buf = &ssl->bm_data[ssl->dc->bm_proc_index];
replace with:
uint8_t *buf = &ssl->bm_data[ssl->dc->bm_proc_index > 0 ? ssl->dc->bm_proc_index + 6 : ssl->dc->bm_proc_index];

and recompiled it for me because I don't know how and he was kind enough to do so (see his issue esp8266/Arduino#3661) .
And his fix works for online.wonderware.com too!
It would be good to get this fix into the main code:
igrr/axtls-8266

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