mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 15:15:41 +01:00
Fix bugs in programs displaying verify flags
This commit is contained in:
parent
0c6ce2f536
commit
637376c2fe
@ -176,7 +176,7 @@ int main( void )
|
||||
char vrfy_buf[512];
|
||||
|
||||
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 );
|
||||
}
|
||||
else
|
||||
|
@ -346,7 +346,7 @@ int main( int argc, char *argv[] )
|
||||
|
||||
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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user