mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Merge pull request #4629 from TRodziewicz/rename_functions_whose_deprecated_variants_have_been_removd
Rename the _ret() functions
This commit is contained in:
@ -219,9 +219,9 @@ int main( void )
|
||||
/*
|
||||
* 5. Sign the parameters and send them
|
||||
*/
|
||||
if( ( ret = mbedtls_sha1_ret( buf, n, hash ) ) != 0 )
|
||||
if( ( ret = mbedtls_sha1( buf, n, hash ) ) != 0 )
|
||||
{
|
||||
mbedtls_printf( " failed\n ! mbedtls_sha1_ret returned %d\n\n", ret );
|
||||
mbedtls_printf( " failed\n ! mbedtls_sha1 returned %d\n\n", ret );
|
||||
goto exit;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user