mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 09:15:35 +00:00
Fix comments about filenames in some programs
This commit is contained in:
parent
d74c697035
commit
1d8f2da7df
|
@ -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] );
|
||||||
|
|
||||||
|
|
|
@ -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] );
|
||||||
|
|
|
@ -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] );
|
||||||
|
|
||||||
|
|
|
@ -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] );
|
||||||
|
|
Loading…
Reference in a new issue