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

Fixups for PR #2

Merged
merged 2 commits into from
Jun 27, 2020
Merged

Fixups for PR #2

merged 2 commits into from
Jun 27, 2020

Conversation

bbockelm
Copy link

This has the XrdCryptosslX509ParseStack parse the full peer chain (including the peer certificate) and fixes a memory leak.

As the PushBack method assumes ownership, we must free the X509
object if we don't use it.
This includes the peer certificate along with the rest of the chain
when we are parsing the SSL object's peer.

Note the tricky semantics around ownership -- the peer_certificate
method changes the refcount while peer_chain does not.  Ouch!
@esindril esindril merged commit 4582bd8 into esindril:x509_dn Jun 27, 2020
esindril pushed a commit that referenced this pull request Mar 19, 2024
[RPM] Added hard runtime dependency as well and removed non-existent test pkg
esindril pushed a commit that referenced this pull request Mar 19, 2024
GFAL2/mkdir fix (lie to posix-assuming clients about directory operations)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants