mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +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) {
|
if (ciphers == NULL) {
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
wolfSSL_get_ciphers(ciphers, (int)sizeof(ciphers));
|
wolfSSL_get_ciphers(ciphers, WOLFSSL_CIPHER_LIST_MAX_SIZE);
|
||||||
cipher = ciphers;
|
cipher = ciphers;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user