Re: [Freeipa-devel] [PATCH] 811 Set the client auth callback after creating the SSL connection.

2011-07-01 Thread Adam Young
On 06/30/2011 10:04 AM, John Dennis wrote: On 06/29/2011 04:58 PM, Rob Crittenden wrote: John Dennis wrote: On 06/29/2011 03:08 PM, Rob Crittenden wrote: If we set the callback before calling connect() then if the connection tries a network family type and fails, it will try other family

[Freeipa-devel] [PATCH] 811 Set the client auth callback after creating the SSL connection.

2011-06-29 Thread Rob Crittenden
If we set the callback before calling connect() then if the connection tries a network family type and fails, it will try other family types. If this happens then the callback set on the first socket will be lost when a new socket is created. There is no way to query for the callback in an

Re: [Freeipa-devel] [PATCH] 811 Set the client auth callback after creating the SSL connection.

2011-06-29 Thread John Dennis
On 06/29/2011 03:08 PM, Rob Crittenden wrote: If we set the callback before calling connect() then if the connection tries a network family type and fails, it will try other family types. If this happens then the callback set on the first socket will be lost when a new socket is created. There

Re: [Freeipa-devel] [PATCH] 811 Set the client auth callback after creating the SSL connection.

2011-06-29 Thread Rob Crittenden
John Dennis wrote: On 06/29/2011 03:08 PM, Rob Crittenden wrote: If we set the callback before calling connect() then if the connection tries a network family type and fails, it will try other family types. If this happens then the callback set on the first socket will be lost when a new socket