Skip to content

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

Open
earlephilhower wants to merge 3 commits intoigrr:masterfrom
earlephilhower:fix1
Open

Modify to work with new toolchain, fix x509 decode#64
earlephilhower wants to merge 3 commits intoigrr:masterfrom
earlephilhower:fix1

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.

@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