Merge remote-tracking branch 'public/pr/1734' into development

This commit is contained in:
Simon Butcher 2018-06-17 17:35:34 +01:00
commit 688a456f58

View File

@ -962,8 +962,9 @@ static int ssl_async_start( mbedtls_ssl_context *ssl,
{ {
char dn[100]; char dn[100];
mbedtls_x509_dn_gets( dn, sizeof( dn ), &cert->subject ); if( mbedtls_x509_dn_gets( dn, sizeof( dn ), &cert->subject ) > 0 )
mbedtls_printf( "Async %s callback: looking for DN=%s\n", op_name, dn ); mbedtls_printf( "Async %s callback: looking for DN=%s\n",
op_name, dn );
} }
/* Look for a private key that matches the public key in cert. /* Look for a private key that matches the public key in cert.