1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Start introducing test_cas NULL-terminated list

This commit is contained in:
Manuel Pégourié-Gonnard
2015-03-27 10:20:26 +01:00
parent 75f901006b
commit 2f165060f0
4 changed files with 41 additions and 5 deletions

View File

@ -30,10 +30,14 @@
extern "C" {
#endif
/* Concatenation of all available CA certificates */
/* Concatenation of all CA certificates in PEM format if available */
extern const char test_ca_list[];
extern const size_t test_ca_list_len;
/* List of all CA certificates, terminated by NULL */
extern const char * test_cas[];
extern const size_t test_cas_len[];
/*
* Convenience for users who just want a certificate:
* RSA by default, or ECDSA if RSA is not available