- Fixed documentation typos..
diff --git a/include/polarssl/rsa.h b/include/polarssl/rsa.h
index f9d02bd..e61d75c 100644
--- a/include/polarssl/rsa.h
+++ b/include/polarssl/rsa.h
@@ -241,7 +241,7 @@
*
* \param ctx RSA context
* \param mode RSA_PUBLIC or RSA_PRIVATE
- * \param ilen contains the the plaintext length
+ * \param ilen contains the plaintext length
* \param input buffer holding the data to be encrypted
* \param output buffer that will hold the ciphertext
*
diff --git a/include/polarssl/x509.h b/include/polarssl/x509.h
index 832752d..7b76fb5 100644
--- a/include/polarssl/x509.h
+++ b/include/polarssl/x509.h
@@ -214,7 +214,7 @@
*
* \return 0 if successful, or a specific X509 error code
*/
-int x509parse_crt( x509_cert *crt, unsigned char *buf, int buflen );
+int x509parse_crt( x509_cert *chain, unsigned char *buf, int buflen );
/**
* \brief Load one or more certificates and add them
@@ -225,7 +225,7 @@
*
* \return 0 if successful, or a specific X509 error code
*/
-int x509parse_crtfile( x509_cert *crt, char *path );
+int x509parse_crtfile( x509_cert *chain, char *path );
/**
* \brief Parse a private RSA key