mirror of
https://github.com/libssh2/libssh2.git
synced 2025-11-20 02:42:09 +03:00
wincng: fix unused variables with LIBSSH2_RSA_SHA2 disabled
Tested in #979
This commit is contained in:
@@ -2723,6 +2723,9 @@ _libssh2_supported_key_sign_algorithms(LIBSSH2_SESSION *session,
|
|||||||
memcmp(key_method, "ssh-rsa", key_method_len) == 0) {
|
memcmp(key_method, "ssh-rsa", key_method_len) == 0) {
|
||||||
return "rsa-sha2-512,rsa-sha2-256,ssh-rsa";
|
return "rsa-sha2-512,rsa-sha2-256,ssh-rsa";
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
(void)key_method;
|
||||||
|
(void)key_method_len;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user