Rename ERR_xxx_MALLOC_FAILED to ..._ALLOC_FAILED
This commit is contained in:
parent
160e384360
commit
6a8ca33fa5
30 changed files with 130 additions and 130 deletions
|
@ -247,7 +247,7 @@ static int ssl_load_session( mbedtls_ssl_session *session,
|
|||
session->peer_cert = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) );
|
||||
|
||||
if( session->peer_cert == NULL )
|
||||
return( MBEDTLS_ERR_SSL_MALLOC_FAILED );
|
||||
return( MBEDTLS_ERR_SSL_ALLOC_FAILED );
|
||||
|
||||
mbedtls_x509_crt_init( session->peer_cert );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue