Add len constants to certs.c
diff --git a/programs/ssl/ssl_mail_client.c b/programs/ssl/ssl_mail_client.c
index a68af75..eaaaa2c 100644
--- a/programs/ssl/ssl_mail_client.c
+++ b/programs/ssl/ssl_mail_client.c
@@ -508,7 +508,7 @@
#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;
@@ -538,7 +538,7 @@
#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;
@@ -558,7 +558,7 @@
#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;