Fix snprintf usage again

Sigh, switching between branches is error-prone
This commit is contained in:
Manuel Pégourié-Gonnard 2015-08-31 12:38:12 +02:00
parent c728f9486b
commit 8fbb5a32c6
2 changed files with 2 additions and 2 deletions

View file

@ -141,7 +141,7 @@ int main( int argc, char *argv[] )
/*
* Write the signature into <filename>.sig
*/
snprintf( filename, sizeof( filename ), "%s.sig", argv[1] );
polarssl_snprintf( filename, sizeof( filename ), "%s.sig", argv[1] );
if( ( f = fopen( filename, "wb+" ) ) == NULL )
{

View file

@ -105,7 +105,7 @@ int main( int argc, char *argv[] )
* Extract the RSA signature from the text file
*/
ret = 1;
snprintf( filename, sizeof( filename ), "%s.sig", argv[1] );
polarssl_snprintf( filename, sizeof( filename ), "%s.sig", argv[1] );
if( ( f = fopen( filename, "rb" ) ) == NULL )
{