mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Use the macro instead of sizeof()
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user