In message <[EMAIL PROTECTED]> on Sat, 22 Oct 2005 20:32:19 +0530, Dharmesh 
Vyas <[EMAIL PROTECTED]> said:

dharmesh.mail> I am a new user of openssl, and started exploring
dharmesh.mail> opensssl few days back. I am running the test (make
dharmesh.mail> test) and generating the report. I was analysing the
dharmesh.mail> logs generated and i have got some results that has
dharmesh.mail> clicked some doubts as follows,
dharmesh.mail> 
dharmesh.mail> (1) If I run the tests and perform 'make report', the
dharmesh.mail>     output generated shows 'Test passed.' But from the
dharmesh.mail>     log file i found that in the section 
dharmesh.mail> 
dharmesh.mail> test SSL protocol
[...]
dharmesh.mail> ERROR in CLIENT
dharmesh.mail> 12785:error:1407E086:SSL 
routines:SSL2_SET_CERTIFICATE:certificate verify failed:s2_clnt.c:1066:
dharmesh.mail> SSLv2, cipher (NONE) (NONE)
dharmesh.mail> 1 handshakes of 256 bytes done,
dharmesh.mail> 
dharmesh.mail> and there are a few of this types which shows the same
dharmesh.mail> ERROR in CLIENT,

This is correct.  The test checks that all aspects of using SSL,
*including* a correct check of certificates (which includes saying
when there's a verification failure), is done properly.  The error
above proves that the software works as it should, even for certicates
that fail to verify.  That's why this test is a success.

dharmesh.mail> (2) Except ssltest.c if i edit any .c files in tests
dharmesh.mail>     foder with some wrong value and perform the test
dharmesh.mail>     and generate the report (by make report) it shows
dharmesh.mail>     as "Failure" and stops performing any other
dharmesh.mail>     tests. But if i edit anything in ssltest.c and
dharmesh.mail>     perform the test, the logs and report says that
dharmesh.mail>     'Test Passed' and there will be some errors same
dharmesh.mail>     like i showed in (1). So is it something like pass
dharmesh.mail>     and failure of Tests doesnot depend on the
dharmesh.mail>     ssltest.c.

What, exactly, did you change in ssltest.c?

Cheers,
Richard

-- 
Richard Levitte                         [EMAIL PROTECTED]
                                        http://richard.levitte.org/

"When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up."
                                                -- C.S. Lewis
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to