Update confusing example of using CURLINFO_TLS_SSL_PTR #2690

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
2 participants
@AdrianPeniak
Contributor

AdrianPeniak commented Jun 28, 2018

Previous example was little bit confusing, because SSL* structure (or other "in use" SSL connection pointer) are not accessible after transfer, therefore working with raw TLS library specific pointer should be done during transfer.

Update confusing example of using
Previous example was little bit confusing, because SSL* structure (or other "in use" SSL connection pointer) are not accessible after transfer, therefore working with raw TLS library specific pointer should be done during transfer.

@AdrianPeniak AdrianPeniak changed the title from Update confusing example of using to Update confusing example of using CURLINFO_TLS_SSL_PTR Jun 28, 2018

@bagder

bagder approved these changes Jun 28, 2018

Yeah, this is better. Two nits:

  1. it mixes code-style (brace position)
  2. I think we can skip the (void) lines to shorten it
Fix of proposed changes
Unify brackets & remove unused (void) lines
@bagder

This comment has been minimized.

Show comment
Hide comment
@bagder

bagder Jun 28, 2018

Member

Thanks! (I edited it slightly before merge)

Member

bagder commented Jun 28, 2018

Thanks! (I edited it slightly before merge)

@bagder bagder closed this in 24cb114 Jun 28, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment