From d73896581bfc11900f82260d40780a8db7b08e4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Thu, 6 Aug 2015 18:22:26 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20typos=20(found=20by=20Francesco=20Pomp?= =?UTF-8?q?=C3=B2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Manually merging as the pull requests are based on an old branch. closes #215 closes #216 --- programs/x509/cert_req.c | 2 +- programs/x509/cert_write.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/programs/x509/cert_req.c b/programs/x509/cert_req.c index 0716466d8..59549bb14 100644 --- a/programs/x509/cert_req.c +++ b/programs/x509/cert_req.c @@ -273,7 +273,7 @@ int main( int argc, char *argv[] ) /* * 1.0. Check the subject name for validity */ - mbedtls_printf( " . Checking subjet name..." ); + mbedtls_printf( " . Checking subject name..." ); fflush( stdout ); if( ( ret = mbedtls_x509write_csr_set_subject_name( &req, opt.subject_name ) ) != 0 ) diff --git a/programs/x509/cert_write.c b/programs/x509/cert_write.c index 1d287d8ff..dea852a17 100644 --- a/programs/x509/cert_write.c +++ b/programs/x509/cert_write.c @@ -40,7 +40,7 @@ int main( void ) { mbedtls_printf( "MBEDTLS_X509_CRT_WRITE_C and/or MBEDTLS_X509_CRT_PARSE_C and/or " - "MBEDTLS_FS_IO and/or MBEDTLS_SHA256_C and_or " + "MBEDTLS_FS_IO and/or MBEDTLS_SHA256_C and/or " "MBEDTLS_ENTROPY_C and/or MBEDTLS_CTR_DRBG_C and/or " "MBEDTLS_ERROR_C not defined.\n"); return( 0 ); @@ -228,7 +228,6 @@ int main( int argc, char *argv[] ) opt.issuer_crt = DFL_ISSUER_CRT; opt.request_file = DFL_REQUEST_FILE; - opt.request_file = DFL_REQUEST_FILE; opt.subject_key = DFL_SUBJECT_KEY; opt.issuer_key = DFL_ISSUER_KEY; opt.subject_pwd = DFL_SUBJECT_PWD;