From 4250a1f8185766086bc6c5d13a1e472bca88462c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Thu, 27 Jun 2013 13:00:00 +0200 Subject: [PATCH] Fix a comment and some whitespace --- library/x509parse.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/library/x509parse.c b/library/x509parse.c index 7c7ee29fb..935147bfd 100644 --- a/library/x509parse.c +++ b/library/x509parse.c @@ -1817,7 +1817,7 @@ int x509parse_crtfile( x509_cert *chain, const char *path ) size_t n; unsigned char *buf; - if ( (ret = load_file( path, &buf, &n ) ) != 0 ) + if ( ( ret = load_file( path, &buf, &n ) ) != 0 ) return( ret ); ret = x509parse_crt( chain, buf, n ); @@ -1931,7 +1931,7 @@ int x509parse_crlfile( x509_crl *chain, const char *path ) size_t n; unsigned char *buf; - if ( (ret = load_file( path, &buf, &n ) ) != 0 ) + if ( ( ret = load_file( path, &buf, &n ) ) != 0 ) return( ret ); ret = x509parse_crl( chain, buf, n ); @@ -1951,7 +1951,7 @@ int x509parse_keyfile_rsa( rsa_context *rsa, const char *path, const char *pwd ) size_t n; unsigned char *buf; - if ( (ret = load_file( path, &buf, &n ) ) != 0 ) + if ( ( ret = load_file( path, &buf, &n ) ) != 0 ) return( ret ); if( pwd == NULL ) @@ -1975,7 +1975,7 @@ int x509parse_public_keyfile_rsa( rsa_context *rsa, const char *path ) size_t n; unsigned char *buf; - if ( (ret = load_file( path, &buf, &n ) ) != 0 ) + if ( ( ret = load_file( path, &buf, &n ) ) != 0 ) return( ret ); ret = x509parse_public_key_rsa( rsa, buf, n ); @@ -2541,7 +2541,7 @@ int x509parse_dhm( dhm_context *dhm, const unsigned char *dhmin, size_t dhminlen #if defined(POLARSSL_FS_IO) /* - * Load and parse a private RSA key + * Load and parse DHM parameters */ int x509parse_dhmfile( dhm_context *dhm, const char *path ) {