Fixup: Correct wrong comment ssl_prepare_server_key_exchange()

This commit is contained in:
Hanno Becker 2019-09-01 07:27:41 +01:00
parent b251e01a0f
commit 2e80173dfc

View file

@ -3426,7 +3426,7 @@ static int ssl_prepare_server_key_exchange( mbedtls_ssl_context *ssl,
ssl->out_msglen += 2*NUM_ECC_BYTES;
}
else
#endif /* MBEDTLS_ECDH_C */
#endif /* MBEDTLS_TINYCRYPT_C */
#if !defined(MBEDTLS_ECDH_C)
{
MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) );