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
|
@ -137,7 +137,7 @@ int mbedtls_x509_string_to_names( mbedtls_asn1_named_data **head, const char *na
|
|||
(unsigned char *) data,
|
||||
d - data ) == NULL )
|
||||
{
|
||||
return( MBEDTLS_ERR_X509_MALLOC_FAILED );
|
||||
return( MBEDTLS_ERR_X509_ALLOC_FAILED );
|
||||
}
|
||||
|
||||
while( c < end && *(c + 1) == ' ' )
|
||||
|
@ -177,7 +177,7 @@ int mbedtls_x509_set_extension( mbedtls_asn1_named_data **head, const char *oid,
|
|||
if( ( cur = mbedtls_asn1_store_named_data( head, oid, oid_len,
|
||||
NULL, val_len + 1 ) ) == NULL )
|
||||
{
|
||||
return( MBEDTLS_ERR_X509_MALLOC_FAILED );
|
||||
return( MBEDTLS_ERR_X509_ALLOC_FAILED );
|
||||
}
|
||||
|
||||
cur->val.p[0] = critical;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue