Client: if no cert, send empty cert list
diff --git a/library/ssl_cli.c b/library/ssl_cli.c
index ae8c916..81d8e88 100644
--- a/library/ssl_cli.c
+++ b/library/ssl_cli.c
@@ -1619,14 +1619,6 @@
p++;
}
- // TODO: shall we abort now or send an empty certificate list later?
-
- if( ssl->handshake->cert_type == 0 )
- {
- SSL_DEBUG_MSG( 1, ( "no known cert_type provided" ) );
- return( POLARSSL_ERR_SSL_BAD_HS_CERTIFICATE_REQUEST );
- }
-
#if defined(POLARSSL_SSL_PROTO_TLS1_2)
if( ssl->minor_ver == SSL_MINOR_VERSION_3 )
{