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

Silently eat \rs in PEM decoder in BearSSL #5598

Merged
merged 2 commits into from
Jan 7, 2019

Conversation

earlephilhower
Copy link
Collaborator

There is a bug in the BearSSL PEM decoder when Windows EOLs (\r\n) are
passed in. Avoid the issue by silenly discarding \rs as they are read
from the PEM source in the C code, to keep my sanity by avoiding reworking
the pseudo-Forth parser code.

Fixes #5591

There is a bug in the BearSSL PEM decoder when Windows EOLs (\r\n) are
passed in.  Avoid the issue by silenly discarding \rs as they are read
from the PEM source in the C code, to keep my sanity by avoiding reworking
the pseudo-Forth parser code.

Fixes esp8266#5591
@earlephilhower earlephilhower added this to the 2.5.0 milestone Jan 7, 2019
@earlephilhower earlephilhower self-assigned this Jan 7, 2019
@earlephilhower earlephilhower merged commit c08ef51 into esp8266:master Jan 7, 2019
@earlephilhower earlephilhower deleted the wineolbssl branch January 7, 2019 17:28
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.

1 participant