mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-25 17:15:42 +01:00
Merge branch 'mbedtls-1.3' into development
* mbedtls-1.3: Fix bugs in programs displaying verify flags Conflicts: programs/test/ssl_cert_test.c programs/x509/cert_app.c
This commit is contained in:
commit
7cfbaf05b3
@ -181,7 +181,7 @@ int main( void )
|
||||
}
|
||||
else
|
||||
{
|
||||
mbedtls_printf( " failed\n ! mbedtls_x509_crt_verify returned %d\n\n", ret );
|
||||
mbedtls_printf( " failed\n ! mbedtls_x509_crt_verify returned %d\n\n", flags );
|
||||
goto exit;
|
||||
}
|
||||
}
|
||||
|
@ -346,7 +346,7 @@ int main( int argc, char *argv[] )
|
||||
|
||||
mbedtls_printf( " failed\n" );
|
||||
|
||||
mbedtls_x509_crt_verify_info( vrfy_buf, sizeof( vrfy_buf ), " ! ", ret );
|
||||
mbedtls_x509_crt_verify_info( vrfy_buf, sizeof( vrfy_buf ), " ! ", flags );
|
||||
|
||||
mbedtls_printf( "%s\n", vrfy_buf );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user