libcrypto: Avoid unused variable warning

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Jakub Jelen
2022-08-29 14:52:18 +02:00
committed by Andreas Schneider
parent a69424d4c5
commit f86727e06a

View File

@@ -1369,7 +1369,9 @@ struct ssh_cipher_struct *ssh_get_ciphertab(void)
*/
int ssh_crypto_init(void)
{
UNUSED_VAR(size_t i);
#if !defined(HAVE_OPENSSL_EVP_CHACHA20) || !defined(HAVE_OPENSSL_EVP_POLY1305)
size_t i;
#endif
if (libcrypto_initialized) {
return SSH_OK;