mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-01-06 11:41:12 +03:00
Add len constants to certs.c
This commit is contained in:
@@ -947,7 +947,7 @@ int main( int argc, char *argv[] )
|
||||
#endif
|
||||
#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;
|
||||
@@ -980,7 +980,7 @@ int main( int argc, char *argv[] )
|
||||
#endif
|
||||
#if defined(POLARSSL_CERTS_C)
|
||||
ret = x509_crt_parse( &clicert, (const unsigned char *) test_cli_crt,
|
||||
strlen( test_cli_crt ) );
|
||||
test_cli_crt_len );
|
||||
#else
|
||||
{
|
||||
ret = 1;
|
||||
@@ -1003,7 +1003,7 @@ int main( int argc, char *argv[] )
|
||||
#endif
|
||||
#if defined(POLARSSL_CERTS_C)
|
||||
ret = pk_parse_key( &pkey, (const unsigned char *) test_cli_key,
|
||||
strlen( test_cli_key ), NULL, 0 );
|
||||
test_cli_key_len, NULL, 0 );
|
||||
#else
|
||||
{
|
||||
ret = 1;
|
||||
|
||||
Reference in New Issue
Block a user