Re: Strange behaviour with SSL_CTX_set_verify

2001-03-23 Thread Filipe Contente
w() did the job of fixing > the problem. > > Ramdas > > -Original Message- > From: Greg Stark [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 22, 2001 5:51 PM > To: [EMAIL PROTECTED] > Subject: Re: Strange behaviour with SSL_CTX_set_verify > > You n

RE: Strange behaviour with SSL_CTX_set_verify

2001-03-22 Thread Hegde, Ramdas
Thanks Greg Moving the SSL_CTX_set_verify() above the SSL_new() did the job of fixing the problem. Ramdas -Original Message- From: Greg Stark [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 5:51 PM To: [EMAIL PROTECTED] Subject: Re: Strange behaviour with SSL_CTX_set_verify

Re: Strange behaviour with SSL_CTX_set_verify

2001-03-22 Thread Greg Stark
You need to do the SSL_CTX_set_verify() *before* you do the SSL_new(). The SSL * sort of inherits all of the settings from the parent SSL_CTX *, kind of like a fork(). If you need to customize a setting for a particular SSL session, you do this to the SSL * object. ___