mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
- Lots of minimal changes to better support WINCE as a build target
This commit is contained in:
parent
33008eef64
commit
cce9d77745
41 changed files with 392 additions and 161 deletions
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* RSASSA-PSS/SHA-1 signature creation program
|
||||
*
|
||||
* Copyright (C) 2006-2010, Brainspark B.V.
|
||||
* Copyright (C) 2006-2011, Brainspark B.V.
|
||||
*
|
||||
* This file is part of PolarSSL (http://www.polarssl.org)
|
||||
* Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>
|
||||
|
|
@ -45,8 +45,11 @@
|
|||
#if !defined(POLARSSL_BIGNUM_C) || !defined(POLARSSL_HAVEGE_C) || \
|
||||
!defined(POLARSSL_RSA_C) || !defined(POLARSSL_SHA1_C) || \
|
||||
!defined(POLARSSL_X509_PARSE_C) || !defined(POLARSSL_FS_IO)
|
||||
int main( void )
|
||||
int main( int argc, char *argv[] )
|
||||
{
|
||||
((void) argc);
|
||||
((void) argv);
|
||||
|
||||
printf("POLARSSL_BIGNUM_C and/or POLARSSL_HAVEGE_C and/or "
|
||||
"POLARSSL_RSA_C and/or POLARSSL_SHA1_C and/or "
|
||||
"POLARSSL_X509_PARSE_C and/or POLARSSL_FS_IO not defined.\n");
|
||||
|
|
@ -69,7 +72,7 @@ int main( int argc, char *argv[] )
|
|||
{
|
||||
printf( "usage: rsa_sign_pss <key_file> <filename>\n" );
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(_WIN32)
|
||||
printf( "\n" );
|
||||
#endif
|
||||
|
||||
|
|
@ -133,7 +136,7 @@ int main( int argc, char *argv[] )
|
|||
|
||||
exit:
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(_WIN32)
|
||||
printf( " + Press Enter to exit this program.\n" );
|
||||
fflush( stdout ); getchar();
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue