summaryrefslogtreecommitdiffstats
path: root/ssh-pkcs11-helper.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2012-07-02 14:15:38 +0200
committerDarren Tucker <dtucker@zip.com.au>2012-07-02 14:15:38 +0200
commit4908d44e675a9a81e6d24d3a3ca90459a4fd24e3 (patch)
treeddb3fc23dc210d3a70e96be547659d2d26c196f4 /ssh-pkcs11-helper.c
parent - dtucker@cvs.openbsd.org 2012/07/02 08:50:03 (diff)
downloadopenssh-4908d44e675a9a81e6d24d3a3ca90459a4fd24e3.tar.xz
openssh-4908d44e675a9a81e6d24d3a3ca90459a4fd24e3.zip
- dtucker@cvs.openbsd.org 2012/07/02 12:13:26
[ssh-pkcs11-helper.c sftp-client.c] fix a couple of "assigned but not used" warnings. ok markus@
Diffstat (limited to '')
-rw-r--r--ssh-pkcs11-helper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ssh-pkcs11-helper.c b/ssh-pkcs11-helper.c
index cd33515f6..fcb5defc0 100644
--- a/ssh-pkcs11-helper.c
+++ b/ssh-pkcs11-helper.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-pkcs11-helper.c,v 1.3 2010/02/24 06:12:53 djm Exp $ */
+/* $OpenBSD: ssh-pkcs11-helper.c,v 1.4 2012/07/02 12:13:26 dtucker Exp $ */
/*
* Copyright (c) 2010 Markus Friedl. All rights reserved.
*
@@ -168,13 +168,13 @@ process_sign(void)
{
u_char *blob, *data, *signature = NULL;
u_int blen, dlen, slen = 0;
- int ok = -1, flags, ret;
+ int ok = -1, ret;
Key *key, *found;
Buffer msg;
blob = get_string(&blen);
data = get_string(&dlen);
- flags = get_int(); /* XXX ignore */
+ (void)get_int(); /* XXX ignore flags */
if ((key = key_from_blob(blob, blen)) != NULL) {
if ((found = lookup_key(key)) != NULL) {