commit | 6a8ca33fa571802db5b10d5c9041e7df1ec2ca25 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu May 28 09:33:39 2015 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu May 28 16:25:05 2015 +0200 |
tree | 61134104bccb2e947c78bd858f01ae41875e3fe3 | |
parent | 160e3843608e66f16c764cea1832a0a40f11fbc9 [diff] [blame] |
Rename ERR_xxx_MALLOC_FAILED to ..._ALLOC_FAILED
diff --git a/library/ssl_ticket.c b/library/ssl_ticket.c index 7b76218..baa8b82 100644 --- a/library/ssl_ticket.c +++ b/library/ssl_ticket.c
@@ -247,7 +247,7 @@ 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 );