mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
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:
committed by
Andreas Schneider
parent
a69424d4c5
commit
f86727e06a
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user