-
Notifications
You must be signed in to change notification settings - Fork 833
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
Use proper ref count handling when adding to x509 store #8233
Use proper ref count handling when adding to x509 store #8233
Conversation
… signed trusted CA
Retest this please. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this all LGTM.
A separate issue, which you probably noticed yourself, is that we have a wolfSSL_X509_up_ref()
but no corresponding wolfSSL_X509_down_ref()
. Hence, the *free()
routines need to use ad hoc wolfSSL_RefDec(&store->ref, ...)
calls.
Cleanup opportunity for another time.
Description
Use proper ref count handling when adding to x509 store
Fixes github issue #8222