diff options
author | Jakub Jelen <jjelen@redhat.com> | 2018-11-23 12:56:25 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-11-23 17:30:16 +0100 |
commit | 5bdb7a50796308b336dd356c2df513586ec36cdd (patch) | |
tree | fd3f19c6300c1ceb29432a95bedc87745e64bfbc /src | |
parent | 824c56067baa6f624b1c0701b0f9466cc335117b (diff) | |
download | libssh-5bdb7a50796308b336dd356c2df513586ec36cdd.tar.gz libssh-5bdb7a50796308b336dd356c2df513586ec36cdd.tar.xz libssh-5bdb7a50796308b336dd356c2df513586ec36cdd.zip |
crypto: Avoid unused parameter warnings
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/libcrypto.c | 1 | ||||
-rw-r--r-- | src/libgcrypt.c | 1 | ||||
-rw-r--r-- | src/libmbedcrypto.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/libcrypto.c b/src/libcrypto.c index 588c4493..9c482aa0 100644 --- a/src/libcrypto.c +++ b/src/libcrypto.c @@ -705,6 +705,7 @@ evp_cipher_aead_get_length(struct ssh_cipher_struct *cipher, size_t len, uint64_t seq) { + (void)cipher; (void)seq; /* The length is not encrypted: Copy it to the result buffer */ diff --git a/src/libgcrypt.c b/src/libgcrypt.c index 2b4e3371..3201434b 100644 --- a/src/libgcrypt.c +++ b/src/libgcrypt.c @@ -422,6 +422,7 @@ aes_aead_get_length(struct ssh_cipher_struct *cipher, size_t len, uint64_t seq) { + (void)cipher; (void)seq; /* The length is not encrypted: Copy it to the result buffer */ diff --git a/src/libmbedcrypto.c b/src/libmbedcrypto.c index 8c0f5b4c..d8799eef 100644 --- a/src/libmbedcrypto.c +++ b/src/libmbedcrypto.c @@ -853,6 +853,7 @@ cipher_gcm_get_length(struct ssh_cipher_struct *cipher, size_t len, uint64_t seq) { + (void)cipher; (void)seq; /* The length is not encrypted: Copy it to the result buffer */ |