mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
- Do not bail out if no client certificate specified. Try to negotiate anonymous connection (Fixes ticket #12)
This commit is contained in:
@ -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++;
|
||||
|
Reference in New Issue
Block a user