diff --git a/include/polarssl/rsa.h b/include/polarssl/rsa.h index f9d02bdf03..e61d75c6ae 100644 --- a/include/polarssl/rsa.h +++ b/include/polarssl/rsa.h @@ -241,7 +241,7 @@ int rsa_private( rsa_context *ctx, * * \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 832752d6e7..7b76fb5687 100644 --- a/include/polarssl/x509.h +++ b/include/polarssl/x509.h @@ -214,7 +214,7 @@ extern "C" { * * \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 @@ int x509parse_crt( x509_cert *crt, unsigned char *buf, int buflen ); * * \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