1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

Switch to the new code style

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine
2023-01-11 14:52:35 +01:00
parent 480f683d15
commit 1b6c09a62e
391 changed files with 73134 additions and 75084 deletions

View File

@ -8,14 +8,14 @@
*/
/* BEGIN_CASE */
void error_strerror( int code, char * result_str )
void error_strerror(int code, char *result_str)
{
char buf[500];
memset( buf, 0, sizeof( buf ) );
memset(buf, 0, sizeof(buf));
mbedtls_strerror( code, buf, 500 );
mbedtls_strerror(code, buf, 500);
TEST_ASSERT( strcmp( buf, result_str ) == 0 );
TEST_ASSERT(strcmp(buf, result_str) == 0);
}
/* END_CASE */