mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 03:15:45 +01:00
Minor style changes
1. Rephrase error description. 2. fix alignment of error list.
This commit is contained in:
parent
b0ad581526
commit
54a7c620bb
@ -43,7 +43,7 @@
|
|||||||
#include "platform_time.h"
|
#include "platform_time.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define MBEDTLS_ERR_PLATFORM_HW_FAILED -0x0080 /**< Hardware platform function failed. */
|
#define MBEDTLS_ERR_PLATFORM_HW_FAILED -0x0080 /**< Hardware failed platform operation. */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -827,7 +827,7 @@ void mbedtls_strerror( int ret, char *buf, size_t buflen )
|
|||||||
|
|
||||||
#if defined(MBEDTLS_PLATFORM_C)
|
#if defined(MBEDTLS_PLATFORM_C)
|
||||||
if( use_ret == -(MBEDTLS_ERR_PLATFORM_HW_FAILED) )
|
if( use_ret == -(MBEDTLS_ERR_PLATFORM_HW_FAILED) )
|
||||||
mbedtls_snprintf( buf, buflen, "PLATFORM - Hardware platform function failed" );
|
mbedtls_snprintf( buf, buflen, "PLATFORM - Hardware failed platform operation" );
|
||||||
#endif /* MBEDTLS_PLATFORM_C */
|
#endif /* MBEDTLS_PLATFORM_C */
|
||||||
|
|
||||||
#if defined(MBEDTLS_POLY1305_C)
|
#if defined(MBEDTLS_POLY1305_C)
|
||||||
|
Loading…
Reference in New Issue
Block a user