Fix comments about filenames in some programs

This commit is contained in:
Manuel Pégourié-Gonnard 2015-08-27 21:42:27 +02:00
parent d74c697035
commit 1d8f2da7df
4 changed files with 4 additions and 4 deletions

View file

@ -129,7 +129,7 @@ int main( int argc, char *argv[] )
} }
/* /*
* Write the signature into <filename>-sig.txt * Write the signature into <filename>.sig
*/ */
mbedtls_snprintf( filename, sizeof(filename), "%s.sig", argv[2] ); mbedtls_snprintf( filename, sizeof(filename), "%s.sig", argv[2] );

View file

@ -86,7 +86,7 @@ int main( int argc, char *argv[] )
} }
/* /*
* Extract the signature from the text file * Extract the signature from the file
*/ */
ret = 1; ret = 1;
mbedtls_snprintf( filename, sizeof(filename), "%s.sig", argv[2] ); mbedtls_snprintf( filename, sizeof(filename), "%s.sig", argv[2] );

View file

@ -140,7 +140,7 @@ int main( int argc, char *argv[] )
} }
/* /*
* Write the signature into <filename>-sig.txt * Write the signature into <filename>.sig
*/ */
mbedtls_snprintf( filename, 512, "%s.sig", argv[2] ); mbedtls_snprintf( filename, 512, "%s.sig", argv[2] );

View file

@ -100,7 +100,7 @@ int main( int argc, char *argv[] )
mbedtls_rsa_set_padding( mbedtls_pk_rsa( pk ), MBEDTLS_RSA_PKCS_V21, MBEDTLS_MD_SHA256 ); mbedtls_rsa_set_padding( mbedtls_pk_rsa( pk ), MBEDTLS_RSA_PKCS_V21, MBEDTLS_MD_SHA256 );
/* /*
* Extract the RSA signature from the text file * Extract the RSA signature from the file
*/ */
ret = 1; ret = 1;
mbedtls_snprintf( filename, 512, "%s.sig", argv[2] ); mbedtls_snprintf( filename, 512, "%s.sig", argv[2] );