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

Modify to work with new toolchain, fix x509 decode #64

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

earlephilhower
Copy link
Contributor

Several arrays were moved into flash but code was not changed to use
pgm_read_byte everywhere needed. Fix, avoiding a crash on SSL cert
verification.

Also update makefile for the new libs and toolchain.

Several arrays were moved into flash but code was not changed to use
pgm_read_byte everywhere needed.  Fix, avoiding a crash on SSL cert
verification.

Also update makefile for the new libs and toolchain.
@earlephilhower
Copy link
Contributor Author

We already put the update in the Arduino core, so no rush. Just wanted to keep you in the loop.

Makefile Outdated Show resolved Hide resolved
ssl/os_port.h Outdated Show resolved Hide resolved
@earlephilhower
Copy link
Contributor Author

I'll see what I can do to clean up the issues you've got later this week. Thanks for the quick review!

Per review request, clean up Makefile to automatically determine if the
stdlibs contain versions of memcpy_P/etc. and bracket them with #ifs in
the code.

Allow users to overrife the mforce32 flag with WITH_PGM_READ_HELPER=1.
@earlephilhower earlephilhower force-pushed the fix1 branch 2 times, most recently from 6356f83 to 8cedb98 Compare July 8, 2019 23:59
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

Successfully merging this pull request may close these issues.

2 participants