Skip to content

Conversation

@marcelkottmann
Copy link
Contributor

@marcelkottmann marcelkottmann commented Oct 30, 2018

The calculation of the base64 encoded string length is incorrect as pointed out in #827. libbase64 already provides a macro that can be used to calculate the base64 encoded string length.

You also have to increment the calculated size by 1 for the trailing zero character.

@me-no-dev me-no-dev merged commit 259ff80 into espressif:master Nov 19, 2018
@me-no-dev
Copy link
Member

thanks!

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