mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-02-19 00:39:46 +00:00
- Made changes for better compatibility with old-style C compilers
This commit is contained in:
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user