Great...Thanks a lot Peter Sylvester-3. Setting X509_STORE_CTX_set_error(ctx,
X509_V_OK)  worked. Thanks a lot again.

Regards,
Manjunath


Peter Sylvester-3 wrote:
> 
> On 08/06/2010 10:54 AM, Manjunath1847 wrote:
>> I am using SSL_CTX_set_verify() function to set my static C callback
>> verify
>> function. During HTTPS transaction, my callback is also getting called
>> with
>> first parameter 0 or 1 (depending upon of the certificate verification is
>> success or failure). But even if my certification verification is failure
>> I
>> want to continue. So I have hard coded  return value as 1 always from my
>> callback function. But still I see the certification error and I don't
>> get
>> the page. Any suggestion please?
>>    
> You might want to try
> 
> X509_STORE_CTX_set_error(ctx, X509_V_OK) ;
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           majord...@openssl.org
> 
> 

-- 
View this message in context: 
http://old.nabble.com/SSL_CTX_set_verify-issue-tp29356429p29393908.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to