mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-10 05:03:02 +03:00
Fix additional mis-spellings
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
@@ -6344,7 +6344,7 @@ int mbedtls_ssl_context_save( mbedtls_ssl_context *ssl,
|
|||||||
MBEDTLS_SSL_DEBUG_MSG( 1, ( "There is pending outgoing data" ) );
|
MBEDTLS_SSL_DEBUG_MSG( 1, ( "There is pending outgoing data" ) );
|
||||||
return( MBEDTLS_ERR_SSL_BAD_INPUT_DATA );
|
return( MBEDTLS_ERR_SSL_BAD_INPUT_DATA );
|
||||||
}
|
}
|
||||||
/* Protocol must be DLTS, not TLS */
|
/* Protocol must be DTLS, not TLS */
|
||||||
if( ssl->conf->transport != MBEDTLS_SSL_TRANSPORT_DATAGRAM )
|
if( ssl->conf->transport != MBEDTLS_SSL_TRANSPORT_DATAGRAM )
|
||||||
{
|
{
|
||||||
MBEDTLS_SSL_DEBUG_MSG( 1, ( "Only DTLS is supported" ) );
|
MBEDTLS_SSL_DEBUG_MSG( 1, ( "Only DTLS is supported" ) );
|
||||||
|
@@ -81,7 +81,7 @@
|
|||||||
#elif defined(MBEDTLS_SHA512_C)
|
#elif defined(MBEDTLS_SHA512_C)
|
||||||
#define KNOWN_MBEDTLS_SUPPORTED_HASH_ALG PSA_ALG_SHA_512
|
#define KNOWN_MBEDTLS_SUPPORTED_HASH_ALG PSA_ALG_SHA_512
|
||||||
#else
|
#else
|
||||||
#undef KNOWN_MBEDLTS_SUPPORTED_HASH_ALG
|
#undef KNOWN_MBEDTLS_SUPPORTED_HASH_ALG
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** \def KNOWN_SUPPORTED_BLOCK_CIPHER
|
/** \def KNOWN_SUPPORTED_BLOCK_CIPHER
|
||||||
|
Reference in New Issue
Block a user