Fix typos (found by Francesco Pompò)

Manually merging as the pull requests are based on an old branch.

closes #215
closes #216
This commit is contained in:
Manuel Pégourié-Gonnard 2015-08-06 18:22:26 +02:00
parent bd5bbec715
commit d73896581b
2 changed files with 2 additions and 3 deletions

View file

@ -273,7 +273,7 @@ int main( int argc, char *argv[] )
/* /*
* 1.0. Check the subject name for validity * 1.0. Check the subject name for validity
*/ */
mbedtls_printf( " . Checking subjet name..." ); mbedtls_printf( " . Checking subject name..." );
fflush( stdout ); fflush( stdout );
if( ( ret = mbedtls_x509write_csr_set_subject_name( &req, opt.subject_name ) ) != 0 ) if( ( ret = mbedtls_x509write_csr_set_subject_name( &req, opt.subject_name ) ) != 0 )

View file

@ -40,7 +40,7 @@
int main( void ) int main( void )
{ {
mbedtls_printf( "MBEDTLS_X509_CRT_WRITE_C and/or MBEDTLS_X509_CRT_PARSE_C and/or " 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_ENTROPY_C and/or MBEDTLS_CTR_DRBG_C and/or "
"MBEDTLS_ERROR_C not defined.\n"); "MBEDTLS_ERROR_C not defined.\n");
return( 0 ); return( 0 );
@ -228,7 +228,6 @@ int main( int argc, char *argv[] )
opt.issuer_crt = DFL_ISSUER_CRT; opt.issuer_crt = DFL_ISSUER_CRT;
opt.request_file = DFL_REQUEST_FILE; opt.request_file = DFL_REQUEST_FILE;
opt.request_file = DFL_REQUEST_FILE;
opt.subject_key = DFL_SUBJECT_KEY; opt.subject_key = DFL_SUBJECT_KEY;
opt.issuer_key = DFL_ISSUER_KEY; opt.issuer_key = DFL_ISSUER_KEY;
opt.subject_pwd = DFL_SUBJECT_PWD; opt.subject_pwd = DFL_SUBJECT_PWD;