aboutsummaryrefslogtreecommitdiff
path: root/libssh/keyfiles.c
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-02-02 16:09:38 +0000
committerAndreas Schneider <mail@cynapses.org>2009-02-02 16:09:38 +0000
commit974a160fd31c10852e9bb811d14a33cff1bae7c4 (patch)
tree4bda1914a6a8f141a4faf57014cf54a868a0c0f2 /libssh/keyfiles.c
parent5e03a95a937c8c64e4bfab8f796d88a4168857bd (diff)
downloadlibssh-974a160fd31c10852e9bb811d14a33cff1bae7c4.tar.gz
libssh-974a160fd31c10852e9bb811d14a33cff1bae7c4.tar.xz
libssh-974a160fd31c10852e9bb811d14a33cff1bae7c4.zip
Fix several build warnings.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@214 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/keyfiles.c')
-rw-r--r--libssh/keyfiles.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libssh/keyfiles.c b/libssh/keyfiles.c
index d1bb9197..45cb42a4 100644
--- a/libssh/keyfiles.c
+++ b/libssh/keyfiles.c
@@ -466,6 +466,9 @@ int read_dsa_privatekey(FILE *fp, gcry_sexp_t *r, ssh_auth_callback cb, void *us
static int pem_get_password(char *buf, int size, int rwflag, void *userdata) {
SSH_SESSION *session = userdata;
+ /* unused flag */
+ (void) rwflag;
+
ZERO_STRUCTP(buf);
if (session && session->options->auth_function) {