From 592457c0ad9e2b3586fe99c7f1af88477ee32ba9 Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Wed, 1 Apr 2009 19:01:43 +0000 Subject: [PATCH] - Fixed documentation typos.. --- include/polarssl/rsa.h | 2 +- include/polarssl/x509.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/polarssl/rsa.h b/include/polarssl/rsa.h index f9d02bdf0..e61d75c6a 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 832752d6e..7b76fb568 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