mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 23:25:44 +01:00
Fix bugs in programs displaying verify flags
This commit is contained in:
parent
9f98251e72
commit
9ce1bdc151
@ -176,7 +176,7 @@ int main( void )
|
|||||||
char vrfy_buf[512];
|
char vrfy_buf[512];
|
||||||
|
|
||||||
polarssl_printf( " failed\n" );
|
polarssl_printf( " failed\n" );
|
||||||
x509_crt_verify_info( vrfy_buf, sizeof( vrfy_buf ), " ! ", ret );
|
x509_crt_verify_info( vrfy_buf, sizeof( vrfy_buf ), " ! ", flags );
|
||||||
polarssl_printf( "%s\n", vrfy_buf );
|
polarssl_printf( "%s\n", vrfy_buf );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -346,7 +346,7 @@ int main( int argc, char *argv[] )
|
|||||||
|
|
||||||
polarssl_printf( " failed\n" );
|
polarssl_printf( " failed\n" );
|
||||||
|
|
||||||
x509_crt_verify_info( vrfy_buf, sizeof( vrfy_buf ), " ! ", ret );
|
x509_crt_verify_info( vrfy_buf, sizeof( vrfy_buf ), " ! ", flags );
|
||||||
|
|
||||||
polarssl_printf( "%s\n", vrfy_buf );
|
polarssl_printf( "%s\n", vrfy_buf );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user