mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-24 00:06:32 +01:00
- Made changes for better compatibility with old-style C compilers
This commit is contained in:
parent
ebb2bebbe2
commit
026c03b7f4
9 changed files with 20 additions and 19 deletions
|
|
@ -83,6 +83,8 @@ int main( void )
|
|||
* 1.2. Load own certificate
|
||||
*/
|
||||
char name[512];
|
||||
int flags;
|
||||
|
||||
snprintf(name, 512, "ssl/test-ca/%s", client_certificates[i]);
|
||||
|
||||
printf( " . Loading the client certificatei %s...", name );
|
||||
|
|
@ -105,8 +107,6 @@ int main( void )
|
|||
printf( " . Verify the client certificate with CA certificate..." );
|
||||
fflush( stdout );
|
||||
|
||||
int flags;
|
||||
|
||||
ret = x509parse_verify( &clicert, &cacert, NULL, &flags );
|
||||
if( ret != 0 )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue