libcrypto: Avoid unused variable warning

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

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;