mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 18:04:25 +09:00
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:
committed by
Andreas Schneider
parent
b7934ab370
commit
630f335415
@@ -1369,7 +1369,9 @@ struct ssh_cipher_struct *ssh_get_ciphertab(void)
|
|||||||
*/
|
*/
|
||||||
int ssh_crypto_init(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) {
|
if (libcrypto_initialized) {
|
||||||
return SSH_OK;
|
return SSH_OK;
|
||||||
|
|||||||
Reference in New Issue
Block a user