1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-21 14:00:51 +03:00

src: silence unused variable warnings (#843)

This commit is contained in:
Viktor Szakats
2023-03-13 12:09:46 +01:00
committed by GitHub
parent b8762c1003
commit 0c00d3b955
2 changed files with 51 additions and 0 deletions

View File

@@ -825,6 +825,19 @@ _libssh2_mbedtls_sk_pub_keyfilememory(LIBSSH2_SESSION *session,
size_t privatekeydata_len,
const char *passphrase)
{
(void)method;
(void)method_len;
(void)pubkeydata;
(void)pubkeydata_len;
(void)algorithm;
(void)flags;
(void)application;
(void)key_handle;
(void)handle_len;
(void)privatekeydata;
(void)privatekeydata_len;
(void)passphrase;
return _libssh2_error(session, LIBSSH2_ERROR_FILE,
"Unable to extract public SK key from private key file: "
"Method unimplemented in mbedTLS backend");