Added a WOLFSSL_CIPHER_LIST_MAX_SIZE macro

This commit is contained in:
Tesfa Mael
2019-04-22 16:30:38 -07:00
parent 393ca1b30c
commit f8c9285b92
4 changed files with 6 additions and 6 deletions

View File

@@ -180,7 +180,7 @@ int testsuite_test(int argc, char** argv)
/* show ciphers */
{
char ciphers[1024*2];
char ciphers[WOLFSSL_CIPHER_LIST_MAX_SIZE];
XMEMSET(ciphers, 0, sizeof(ciphers));
wolfSSL_get_ciphers(ciphers, sizeof(ciphers)-1);
printf("ciphers = %s\n", ciphers);