- Do not bail out if no client certificate specified. Try to negotiate anonymous connection (Fixes ticket #12)

This commit is contained in:
Paul Bakker 2011-02-20 13:49:27 +00:00
parent 9e7606fcd8
commit e2a39cc0fa
2 changed files with 6 additions and 2 deletions

View file

@ -630,7 +630,7 @@ static int ssl_write_certificate_verify( ssl_context *ssl )
SSL_DEBUG_MSG( 2, ( "=> write certificate verify" ) );
if( ssl->client_auth == 0 )
if( ssl->client_auth == 0 || ssl->own_cert == NULL )
{
SSL_DEBUG_MSG( 2, ( "<= skip write certificate verify" ) );
ssl->state++;