Re: Strange behaviour with SSL_CTX_set_verify

2001-03-23 Thread Filipe Contente
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 need to do the SSL_CTX_set_verify() *before* you do the SSL_new(). The SSL * sort of in

Strange behaviour with SSL_CTX_set_verify

2001-03-22 Thread Hegde, Ramdas
After I do the SSL initialization, I do the following in my server code. while(1){ if((s=accept(sock,0,0))0) err_exit("Problem accepting"); sbio=BIO_new_socket(s,BIO_NOCLOSE); ssl=SSL_new(ctx); SSL_set_bio(ssl,sbio,sbio); SSL_CTX_set_verify(ctx,

Re: Strange behaviour with SSL_CTX_set_verify

2001-03-22 Thread Greg Stark
. _ Greg Stark Ethentica, Inc. [EMAIL PROTECTED] _ - Original Message - From: "Hegde, Ramdas" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 22, 2001 6:10 PM Subject: Strange behaviour with SSL_CTX_set_verify After I

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