Use the macro instead of sizeof()

This commit is contained in:
Tesfa Mael 2019-05-02 14:13:48 -07:00
parent 06eba2c1e2
commit 3e7a6054a9

View File

@ -1372,7 +1372,7 @@ int bench_tls(void* args)
if (ciphers == NULL) {
goto exit;
}
wolfSSL_get_ciphers(ciphers, (int)sizeof(ciphers));
wolfSSL_get_ciphers(ciphers, WOLFSSL_CIPHER_LIST_MAX_SIZE);
cipher = ciphers;
}