mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
Add len constants to certs.c
This commit is contained in:
parent
5cbb60bfa3
commit
75f901006b
12 changed files with 115 additions and 55 deletions
|
|
@ -130,7 +130,7 @@ int main( int argc, char *argv[] )
|
|||
|
||||
#if defined(POLARSSL_CERTS_C)
|
||||
ret = x509_crt_parse( &cacert, (const unsigned char *) test_ca_list,
|
||||
strlen( test_ca_list ) );
|
||||
test_ca_list_len );
|
||||
#else
|
||||
ret = 1;
|
||||
polarssl_printf("POLARSSL_CERTS_C not defined.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue