Fix incorrect error message
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
287527042b
commit
dd428d3650
1 changed files with 1 additions and 1 deletions
|
@ -2858,7 +2858,7 @@ static int ssl_get_ecdh_params_from_cert( mbedtls_ssl_context *ssl )
|
||||||
const mbedtls_pk_context *private_key = mbedtls_ssl_own_key( ssl );
|
const mbedtls_pk_context *private_key = mbedtls_ssl_own_key( ssl );
|
||||||
if( private_key == NULL)
|
if( private_key == NULL)
|
||||||
{
|
{
|
||||||
MBEDTLS_SSL_DEBUG_MSG( 1, ( "got no ECDH private key" ) );
|
MBEDTLS_SSL_DEBUG_MSG( 1, ( "got no server private key" ) );
|
||||||
return( MBEDTLS_ERR_SSL_PRIVATE_KEY_REQUIRED );
|
return( MBEDTLS_ERR_SSL_PRIVATE_KEY_REQUIRED );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue