Use the macro instead of sizeof()
This commit is contained in:
parent
06eba2c1e2
commit
3e7a6054a9
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user