1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

Use both RSA and ECDSA CA if available

This commit is contained in:
Manuel Pégourié-Gonnard
2013-09-25 13:23:33 +02:00
parent 420edcaf1d
commit 641de714b6
9 changed files with 64 additions and 52 deletions

View File

@ -576,8 +576,8 @@ int main( int argc, char *argv[] )
else
#endif
#if defined(POLARSSL_CERTS_C)
ret = x509_crt_parse( &cacert, (const unsigned char *) test_ca_crt,
strlen( test_ca_crt ) );
ret = x509_crt_parse( &cacert, (const unsigned char *) test_ca_list,
strlen( test_ca_list ) );
#else
{
ret = 1;