Typos and doc additions
diff --git a/library/error.c b/library/error.c
index 4d7b81c..98fba5c 100644
--- a/library/error.c
+++ b/library/error.c
@@ -356,7 +356,7 @@
         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) )
diff --git a/library/x509.c b/library/x509.c
index 857b8a3..ab105d8 100644
--- a/library/x509.c
+++ b/library/x509.c
@@ -449,7 +449,7 @@
             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 ) );