mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Fix a few more warnings in small configurations
This commit is contained in:
parent
4fee79b885
commit
a7496f00ff
5 changed files with 35 additions and 11 deletions
|
|
@ -49,7 +49,7 @@ int main( int argc, char *argv[] )
|
|||
((void) argv);
|
||||
|
||||
printf("POLARSSL_ECDSA_C and/or "
|
||||
"POLARSSL_ENTROPY_C and/or POLARSSL_CTR_DRBG_C not defined\n"
|
||||
"POLARSSL_ENTROPY_C and/or POLARSSL_CTR_DRBG_C not defined\n");
|
||||
return( 0 );
|
||||
}
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -406,7 +406,9 @@ int main( int argc, char *argv[] )
|
|||
|
||||
ssl_set_own_cert( &ssl, &clicert, &pkey );
|
||||
|
||||
#if defined(POLARSSL_SSL_SERVER_NAME_INDICATION)
|
||||
ssl_set_hostname( &ssl, opt.server_name );
|
||||
#endif
|
||||
|
||||
/*
|
||||
* 4. Handshake
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue