mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-24 02:55:36 +00:00
9d781407bc
- The error codes have been remapped and combining error codes is now done with a PLUS instead of an OR as error codes used are negative. - Descriptions to all error codes have been added. - Generation script for error.c has been created to automatically generate error.c from the available error definitions in the headers.
15 lines
222 B
Plaintext
15 lines
222 B
Plaintext
BEGIN_HEADER
|
|
#include <polarssl/error.h>
|
|
END_HEADER
|
|
|
|
BEGIN_CASE
|
|
error_strerror:code:result_str
|
|
{
|
|
char buf[500];
|
|
|
|
error_strerror( {code}, buf, 500 );
|
|
|
|
TEST_ASSERT( strcmp( buf, {result_str} ) == 0 );
|
|
}
|
|
END_CASE
|