1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Use negative-hex format for error codes in ssl_client2/ssl_server2

This commit is contained in:
Hanno Becker
2019-05-23 16:58:22 +01:00
parent 1125952107
commit d5eed4258a
2 changed files with 4 additions and 4 deletions

View File

@ -1879,8 +1879,8 @@ int main( int argc, char *argv[] )
if( ret != 0 )
{
mbedtls_printf( " failed\n ! mbedtls_ssl_conf_cid_len returned %d\n\n",
ret );
mbedtls_printf( " failed\n ! mbedtls_ssl_conf_cid_len returned -%#04x\n\n",
-ret );
goto exit;
}
}