1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Merge remote-tracking branch 'nw/misc' into mbedtls-1.3

* nw/misc:
  Typos and doc additions
This commit is contained in:
Manuel Pégourié-Gonnard
2015-05-12 12:48:12 +02:00
6 changed files with 12 additions and 9 deletions

View File

@@ -356,7 +356,7 @@ void polarssl_strerror( int ret, char *buf, size_t buflen )
if( use_ret == -(POLARSSL_ERR_RSA_KEY_GEN_FAILED) )
polarssl_snprintf( buf, buflen, "RSA - Something failed during generation of a key" );
if( use_ret == -(POLARSSL_ERR_RSA_KEY_CHECK_FAILED) )
polarssl_snprintf( buf, buflen, "RSA - Key failed to pass the libraries validity check" );
polarssl_snprintf( buf, buflen, "RSA - Key failed to pass the library's validity check" );
if( use_ret == -(POLARSSL_ERR_RSA_PUBLIC_FAILED) )
polarssl_snprintf( buf, buflen, "RSA - The public key operation failed" );
if( use_ret == -(POLARSSL_ERR_RSA_PRIVATE_FAILED) )

View File

@@ -449,7 +449,7 @@ int x509_get_name( unsigned char **p, const unsigned char *end,
if( *p == end_set )
break;
/* Mark this item as being only one in a set */
/* Mark this item as being not the only one in a set */
cur->next_merged = 1;
cur->next = polarssl_malloc( sizeof( x509_name ) );