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

Add move constructor/assignment to BearSSL helpers #8524

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

Conversation

earlephilhower
Copy link
Collaborator

Fixes #8522

@earlephilhower earlephilhower marked this pull request as draft March 29, 2022 20:15
@earlephilhower
Copy link
Collaborator Author

I should also protect the SigningVerifier, so to draft for now.

@mcspr
Copy link
Collaborator

mcspr commented Mar 29, 2022

nit: unique_ptr will help, since we don't allow copies anyway and it handles free() and gets zeroed when when move happens

@earlephilhower earlephilhower marked this pull request as ready for review March 30, 2022 02:06
libraries/ESP8266WiFi/src/BearSSLHelpers.h Outdated Show resolved Hide resolved
@earlephilhower earlephilhower requested a review from mcspr March 31, 2022 21:40
@mcspr
Copy link
Collaborator

mcspr commented Apr 7, 2022

idk what to answer for review, but 'it does not look simplified' :)
given the stability of the existing code (as it was the main argument from Matrix), we should probably rethink the overall structure instead of pushing certain features to the current one that make it more complicated instead of the opposite

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.

Exception in X509List destructor due to invalid default copy assignment operator
2 participants